Re: BUG: 1bbbbe7 (x86: Exclude E820_RESERVED regions...) PANIC onboot

From: H. Peter Anvin
Date: Mon Oct 22 2012 - 17:27:42 EST


On 10/22/2012 02:25 PM, Yinghai Lu wrote:
> On Mon, Oct 22, 2012 at 1:52 PM, H. Peter Anvin <hpa@xxxxxxxxxxxxxxx> wrote:
>> On 10/22/2012 01:50 PM, Yinghai Lu wrote:
>>> ok, let's see if we can meet this extreme corner case except user
>>> specify not page aligned "memmap="
>>
>> If it is *only* memmap= there is a very simple solution: if the memmap
>> is RAM then we round up the starting address and round down the end
>> address; if the memmap is not RAM then we round up instead...
>
> We never know that bios guys will not let bios produce crazy e820 map.
>

Yeah, well, that just *will* happen... that's a given.

We can trim those ranges, though. Who cares if we lose some RAM.

-hpa


--
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/