Re: How to use >3G memory per process

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue Dec 18 2001 - 13:40:52 EST


Followup to: <OHEPLPGMMIEGHANJIEBAIEPKCEAA.wydeng@platodesign.com>
By author: "Wenyong Deng" <wydeng@platodesign.com>
In newsgroup: linux.dev.kernel
>
> Hi,
>
> I read about 3.5G-per_process (or 3.5G/0.5G user/kernel space) in this
> mailing list, but I don't find the details of how to do it. I have installed
> Redhat7.2 (kernel 2.4.10enterprise) on a dual CPU 4G memory PC. I wrote a
> simple program to use malloc to allocate memory, and it can never exceeds
> 3G. libhoard didn't help either. My question is:
>
> [1] What need to be done for the kernel to support 3.5G or more user address
> space per process?
>
> [2] What need to be done at compilation time? Any option for
> compiler/linker?
>

You need a patch from Andrea; you also need to either run kernel boot
protocol 2.03 (a patch from me, plus a compatible bootloader), *OR*
run without initrd.

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



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:17 EST