Re: changing __PAGE_OFFSET on x86?

Albert D. Cahalan (acahalan@cs.uml.edu)
Tue, 28 May 2002 14:06:23 -0400 (EDT)


Josh Fryman writes:

> when adding all this up, we're exceeding the 3G/1G split of the linux kernel.
> as dan maas pointed out, there should be a way to fix this in the kernel...
> so, after some grepping and code browsing, my new question is:
>
> to fix this, if we change the __PAGE_OFFSET in include/asm-i386/page.h from
> 0xc0000000 to 0xb000000, are there any hidden dependencies? is there anything
> else we need to worry about? (does the __PAGE_OFFSET need to lie on a 1G
> boundary?)
>
> i haven't seen any, but them i'm not willing to say i understand all the
> implications from chaging such a fundamental #define ....

At least at one time, the kernel side had to be a power of 2.
So you'd have to go to an even split if that's still the case.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/