Fixed addresses for various architectures

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue Sep 12 2000 - 14:13:30 EST


Hello friends,

I would like to have suggestions for a fixed memory address into which
a large object can (usually) be mmap(MAP_FIXED)'d safely on various
architectures.

On i386 I'm using 0x60000000, which is (by and large) safely out of
the way of libraries (grow up from 0x40000000) and the stack (grows
down from 0xc0000000 or 0x80000000 depending on version and compile
options).

So, what are good values to use for other architectures?

Thanks,

        -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:19 EST