changing __PAGE_OFFSET on x86?

From: Josh Fryman (fryman@cc.gatech.edu)
Date: Tue May 28 2002 - 09:15:15 EST


hi,

i posted a query last week about a problem we're having with some PCI devices.
we have a P4 system with 512M of RAM and two PCI cards, each having another
256MB of RAM. we want our device driver to expose the entire memory region
for the pci cards.

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

thanks,

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



This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:22 EST