Re: [PATCH] x86: use add_highpages_with_active_regions for high pages init

Yinghai Lu
2008-06-14T09:06:14Z

On Sat, Jun 14, 2008 at 1:23 AM, Ingo Molnar <mingo@elte.hu> wrote:
>
> * Yinghai Lu <yhlu.kernel@gmail.com> wrote:
>
>> use early_node_map to init high pages, so can remove page_is_ram and
>> page_is_reserved_early in the big loop with add_one_highpage
>>
>> also remove the page_is_reserved_early that is not needed.
>
> applied to tip/x86/mpparse for testing, thanks.
>
> Andrew: mm/page_alloc.c modification.

Ying Huang,

I removed page_is_reserved_early....it cause init highmem take extra
time on my big box.

please check efi_reserve_early that is calling reserve_early. so need
to make sure "EFI memmap" is reserved in itself...otherwise you may
need to update e820 table by add_memory_region (....,
E820_RESERVED)...

YH