Question on mmap() in 64-bit OS
- From: "LaBird" <b_cheung_2005@xxxxxxxxx>
- Date: Mon, 26 Nov 2007 00:34:00 +0800
Dear all,
I'd like to ask is there any address range limit allowable to be used by
user when calling mmap() with the MAP_FIXED flag on in a 64-bit Linux
machine. (I am using Fedora 7). I find that I cannot go anywhere beyond
0x10000000 00000000. When I specify any address larger than that, a ENOMEM
error occurs. If that is the case, why does the OS need to reserve such a
large portion of the 2^64 address space, prohibiting users to map in that
range?
Many thanks,
LaBird (Benny).
[Email: Remove all underscores for the correct email address.]
.
- Follow-Ups:
- Re: Question on mmap() in 64-bit OS
- From: Wolfgang Draxinger
- Re: Question on mmap() in 64-bit OS
- From: Tim Roberts
- Re: Question on mmap() in 64-bit OS
- From: Måns Rullgård
- Re: Question on mmap() in 64-bit OS
- Prev by Date: Re: lseek/write
- Next by Date: Re: Question on mmap() in 64-bit OS
- Previous by thread: Web Proxy Design Queries ?
- Next by thread: Re: Question on mmap() in 64-bit OS
- Index(es):
Relevant Pages
|