Re: 2G memory split

From: Jens Axboe
Date: Tue Jan 10 2006 - 09:18:49 EST


On Tue, Jan 10 2006, Gerd Hoffmann wrote:
> Hi,
>
> >0xb0000000 is a much better default, but I didn't think that would fly
> >as a patch.
>
> I think that will not fly with CONFIG_X86_PAE. In PAE mode the 3rd pmd
> (for the 0xc0000000 => 0xffffffff kernel address range) is shared,
> anything but 0xc000000 most likely needs some more hackery than just
> changing PAGE_OFFSET. As the whole point of this split patchery is to
> avoid highmem in the first place it maybe makes sense to have some
> "optimize for 1/2/4/more GB main memory" config option which in turn
> picks sane PAGE_OFFSET+HIGHMEM+PAE settings?

The patch depends on NOHIGHMEM atm, so you can't select PAE and move the
page offset anyways.

--
Jens Axboe

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