audk/MdeModulePkg
Ard Biesheuvel 7e8e22056b MdeModulePkg: use index to traverse free pool pages
In preparation of making the pool code capable of serving allocations
from higher-up bins, update the free path to traverse a candidate page
by following the index of POOL_FREE header instead of duplicating the
carving logic that was used at page allocation time. This allows chunks
to be split into smaller ones, where one can be returned to serve the
allocation, and the other stored in a smaller bin for later use.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17013 6f19259b-4bc3-4df7-8a09-765794883524
2015-03-06 02:55:35 +00:00
..
Application MdeModulePkg DxeCore/PiSmmCore/MemoryProfileInfo: Fix EBC and VS2013 build failure. 2014-11-17 02:30:44 +00:00
Bus MdeModulePkg: list ARM and AARCH64 as valid architectures for some modules 2015-02-23 16:05:50 +00:00
Core MdeModulePkg: use index to traverse free pool pages 2015-03-06 02:55:35 +00:00
Include MdeModulePkg Variable: Implement variable quota management. 2015-01-27 08:42:47 +00:00
Library MdeModulePkg: Update library class name of PlatformHookLibSerialPortPpi.inf 2015-02-10 07:33:19 +00:00
Logo MdeModulePkg: Convert non DOS format files to DOS format and remove unused module UNI files. 2014-09-03 08:39:12 +00:00
Universal MdeModulePkg/FvSimpleFileSystemDxe: Fixed ARM compiler error 2015-02-25 02:24:04 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
MdeModulePkg.dec MdeModulePkg: Update SMBIOS revision to 3.0. 2015-02-15 05:01:59 +00:00
MdeModulePkg.dsc MdeModulePkg: Update DSC file to fix build failure in EBC. 2015-02-05 06:10:07 +00:00
MdeModulePkg.uni MdeModulePkg Variable: Introduce PcdReclaimVariableSpaceAtEndOfDxe 2015-02-02 09:30:34 +00:00
MdeModulePkgExtra.uni MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:55:48 +00:00