[syslinux] New Memory Allocation
H. Peter Anvin
hpa at zytor.com
Sun Nov 4 22:21:45 PST 2012
On 11/05/2012 01:00 AM, Shao Miller wrote:
> In Syslinux-5.00, is the goal that the core and .c32 modules alike will use
> the same heap? There is a bug I am thinking about:
>
> - QEmu with 1024 MiB RAM
> - Syslinux 4.06
> - .c32 can realloc() up to 1013 MiB
>
> - QEmu with 1024 MiB RAM
> - Syslinux 5.00-pre9
> - .c32 can realloc() up to 45 MiB
>
> I am wondering if there's a maximum-allocation-size being hit, or if it's
> actually a bug I should look for.
>
Yes, that is the goal. Something is clearly wrong there. It either
means we're not properly entering all of RAM into the heap, or we're
getting insane fragmentation.
-hpa
More information about the Syslinux
mailing list