Messages in this thread |  | | From | "H. Peter Anvin" <> | Subject | Re: How to use >3G memory per process | Date | 18 Dec 2001 11:07:27 -0800 |
| |
Followup to: <200112181837.fBIIbUF02685@adsl-209-76-109-63.dsl.snfc21.pacbell.net> By author: Wayne Whitney <whitney@math.berkeley.edu> In newsgroup: linux.dev.kernel > > In mailing-lists.linux-kernel, you wrote: > > > [1] What need to be done for the kernel to support 3.5G or more user > > address space per process? > > On ia32, change the value of __PAGE_OFFSET (where kernel space starts) > in include/asm-i386/page.h. The size of kernel space must be a power > of 2, so you can change __PAGE_OFFSET from its default of 0xC0000000 > to either 0xE0000000 (reasonable) or 0xF0000000 (overboard ?). > You must also change the unlabeled value near the top of > arch/i386/vmlinux.lds to match the value of __PAGE_OFFSET. >
Note that this does break the (old) initrd protocol. Compile your kernel monolithic.
-hpa -- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com> - 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/
|  |