Re: Question on mmap() in 64-bit OS
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Mon, 26 Nov 2007 04:59:15 GMT
"LaBird" <b_cheung_2005@xxxxxxxxx> wrote:
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?
That gives you an address space of just over 1.1 quintillion bytes -- one
exabyte. It will be one hell of a long time before computers have that
much RAM, and it will probably be more than a decade before you have a disk
that large on a computer you are likely to encounter.
The advantage of a 64-bit address space is that it can be subdivided to
serve a number of different purposes. We don't know what all of those
purposes are yet, but that will come.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- Question on mmap() in 64-bit OS
- From: LaBird
- Question on mmap() in 64-bit OS
- Prev by Date: Re: Question on mmap() in 64-bit OS
- Next by Date: Re: Question on mmap() in 64-bit OS
- Previous by thread: Re: Question on mmap() in 64-bit OS
- Next by thread: Re: Question on mmap() in 64-bit OS
- Index(es):
Relevant Pages
|