Messages in this thread |  | | Date | Sun, 01 Mar 2009 17:07:58 -0800 | | From | "H. Peter Anvin" <> | | Subject | Re: brk patches.. |
| |
Yinghai Lu wrote: > > hope later boot loader could check vmlinux size in bzImage (according uncompressed size) > and find good position in RAM for bzImage. > > we should find good position for brk with find_e820_area(). >
If the brk is bounded-size on the same order or smaller as the kernel, we should just mark it as an unallocated (bss) section in the ELF image and be done with it... there really is no point in trying to be smarter (we'd be subject to failures to load the kernel proper.) If the brk is significantly bigger, then yes, we need to be smarter. However, that is not my current understanding of the requirements.
-hpa
-- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
|  |