Re: [PATCH] x86: introduce max_low_pfn_mapped for 64bit

From: Ingo Molnar
Date: Fri Jul 11 2008 - 04:51:54 EST



* Yinghai Lu <yhlu.kernel@xxxxxxxxx> wrote:

> On Fri, Jul 11, 2008 at 1:26 AM, Ingo Molnar <mingo@xxxxxxx> wrote:
> >
> > * Yinghai Lu <yhlu.kernel@xxxxxxxxx> wrote:
> >
> >> when 4g more memory installed, don't map big hole below 4g.
> >
> > applied to tip/x86/core, thanks Yinghai.
> >
> > This is a scarier change - no way to do it in smaller steps?
>
> 1. e820_end ==> e820_end_of_ram_pfn :: totally safe...
> 2. others

yeah. I'd also split out the introduction of max_low_pfn_mapped into a
separate, safe patch as well. I.e. first patch just introduces it,
second patch makes use of it.

the #ifdef 64-bit assymetry looks a bit ugly too.

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