Re: [PATCH 7 of 13] Make __FIXADDR_TOP variable to allow it to make space for a hypervisor

From: Chris Wright
Date: Tue Aug 01 2006 - 17:34:21 EST


* Andrew Morton (akpm@xxxxxxxx) wrote:
> On Tue, 1 Aug 2006 02:03:30 -0700
> Chris Wright <chrisw@xxxxxxxxxxxx> wrote:
>
> > * Jeremy Fitzhardinge (jeremy@xxxxxxxxxxxxx) wrote:
> > > -#define MAXMEM (-__PAGE_OFFSET-__VMALLOC_RESERVE)
> > > +#define MAXMEM (__FIXADDR_TOP-__PAGE_OFFSET-__VMALLOC_RESERVE)
> >
> > In the native case we lose one page of lowmem now.
>
> erm, isn't this the hunk which gave one of my machines a 4kb highmem zone?
> I have memories of reverting it.

Yes, that does sound quite familiar. I couldn't find the thread, do you
recall any of the details? I expect it's the same issue as the off by one
page I mentioned above.

thanks,
-chris
-
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/