[coreboot] Patch merged into coreboot/master: 7a32e88 libpayload: Fix memalign() for fragmented alignment regions

gerrit at coreboot.org gerrit at coreboot.org
Fri Nov 23 18:17:09 CET 2012

the following patch was just integrated into master:
commit 7a32e88f12efcc424a8e33de0f33f82356d73531
Author: Nico Huber <nico.huber at secunet.com>
Date:   Thu Nov 22 17:37:32 2012 +0100

    libpayload: Fix memalign() for fragmented alignment regions
    Found a bug in the memory allocator ;-)
    If the total free space in an alignment region is large enough for an
    allocation but fragmented, such that there is no contiguous, sufficient
    large, free space in the region, memalign() was looking at the same
    region again and again in an endless loop. The advancing to the next
    region was just missing.
    Change-Id: I3fad833804675ee495577ca2749b007f46b5ff69
    Signed-off-by: Nico Huber <nico.huber at secunet.com>
    Reviewed-on: http://review.coreboot.org/1906
    Reviewed-by: Patrick Georgi <patrick at georgi-clan.de>
    Tested-by: build bot (Jenkins)

Reviewed-By: Patrick Georgi <patrick at georgi-clan.de> at Fri Nov 23 15:22:22 2012, giving +2
See http://review.coreboot.org/1906 for details.


More information about the coreboot mailing list