Re: does boot loader check uncompressed kernel size?

From: Yinghai Lu
Date: Sat Feb 28 2009 - 15:43:04 EST


On Sat, Feb 28, 2009 at 12:08 AM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> Yinghai Lu wrote:
>>
>> On Fri, Feb 27, 2009 at 11:47 PM, Cyrill Gorcunov <gorcunov@xxxxxxxxx>
>> wrote:
>>>
>>> [Yinghai Lu - Fri, Feb 27, 2009 at 11:39:06PM -0800]
>>> | wonder if boot loader check uncompress size aka vmlinux size in bzImage
>>> | before it find one good position for bzImage...?
>>> |
>>> | YH
>>> |
>>>
>>> At least for x86-64 in grub-1.96 I didn't find such a check.
>>> Btw, but why should it care? Or you mean something else?
>>
>> thinking about Jeremy's brk patches that may use ram after _end blindly...
>>
>
> We already do that.  Jeremy's brk patches just formalizes it.
>

No, after we extend reserve_early from 64bit to 32bit, we don't use
RAM blindly in early stage.

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/