diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-03-06 02:56:20 +0000 |
---|---|---|
committer | lgao4 <lgao4@Edk2> | 2015-03-06 02:56:20 +0000 |
commit | f8aabf6e4c199e92498512e1d0cf9a347b62e491 (patch) | |
tree | 44b76932a59ba2c42a665727821bf26995b31f76 /SecurityPkg/RandomNumberGenerator | |
parent | 7e8e22056b721203f29b3ee982a64e98b0cbc22a (diff) | |
download | edk2-platforms-f8aabf6e4c199e92498512e1d0cf9a347b62e491.tar.xz |
MdeModulePkg: carve pool pages into the largest chunks possible
In preparation of the next patch, that serves allocations from higher-up
bins if the current bin is depleted, this patch updates the carving up
strategy to populate the largest bins first. To ensure that there will
always be an allocation of the appropriate size made, the current allocation
request is served first from the newly allocated memory region.
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@17014 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/RandomNumberGenerator')
0 files changed, 0 insertions, 0 deletions