Re: Linux 3.9-rc1

Yinghai Lu
2013-03-06T22:19:16Z

On Wed, Mar 6, 2013 at 2:14 PM, Yinghai Lu <yinghai@kernel.org> wrote:
> On Wed, Mar 6, 2013 at 1:49 PM, H. Peter Anvin <hpa@linux.intel.com> wrote:
>> On 03/06/2013 01:33 PM, Yinghai Lu wrote:
>>> On Wed, Mar 6, 2013 at 12:58 PM, H. Peter Anvin <hpa@linux.intel.com> 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