Re: 2G memory split

From: Gerd Hoffmann
Date: Tue Jan 10 2006 - 09:08:44 EST


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?

cheers,

Gerd

--
Gerd 'just married' Hoffmann <kraxel@xxxxxxx>
I'm the hacker formerly known as Gerd Knorr.
-
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/