lkml.org 
[lkml]   [2000]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectFixed addresses for various architectures
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.042 / U:6.928 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site