Re: Linux 3.9-rc1

From: Yinghai Lu
Date: Wed Mar 06 2013 - 17:19:20 EST


On Wed, Mar 6, 2013 at 2:14 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
> On Wed, Mar 6, 2013 at 1:49 PM, H. Peter Anvin <hpa@xxxxxxxxxxxxxxx> wrote:
>> On 03/06/2013 01:33 PM, Yinghai Lu wrote:
>>> On Wed, Mar 6, 2013 at 12:58 PM, H. Peter Anvin <hpa@xxxxxxxxxxxxxxx> wrote:
>>>
>>>> Excellent. Yinghai, can you write up the patch with a proper
>>>> description and I'll put it into x86/urgent.
>>>
>>> I made it more robust: make sure real_end have 8M below it.
>>> Please check attached one.
>>>
>>
>> Sigh. This is why "keep the page tables together" is fundamentally the
>> wrong strategy.
>>
>> 8M means that we won't even be able to boot on machines with less than
>> 16M or so of RAM... I'm not sure if anyone still cares, but that is a
>> pretty aggressive heuristic.
>
> Henrik's system has 5M holes, so i picked 8M.
>
> Current what is minimum ram is required for boot x86 32bit kernel? 8M?

just check the code again, it should be ok.

we can not find the 8M, real_end will set to 8M anyway. as the
memblock_find_in_range will return
0.

then will map [0, 8M] at first, then will map [8M, whatever).

Thanks

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