On Wed, Mar 6, 2013 at 2:14 PM, Yinghai Lu <[email protected]> wrote: > On Wed, Mar 6, 2013 at 1:49 PM, H. Peter Anvin <[email protected]> wrote: >> On 03/06/2013 01:33 PM, Yinghai Lu wrote: >>> On Wed, Mar 6, 2013 at 12:58 PM, H. Peter Anvin <[email protected]> >>> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

