Re: Question on mmap() in 64-bit OS



"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.
.



Relevant Pages

  • Re: HierarchicalDock solves 2 of 3 issues with dock behavior
    ... ..there are many ways of using computers... ... for many purposes... ... ..but the current 10.5.1 dock is unworkable for me ... something other than the Dock to navigate folders. ...
    (comp.sys.mac.system)
  • Re: Wait for flag
    ... > just loop until the flag is set or a time out reached, ... Post a message to fire a message-handler event. ... > although you can suspend threads you have created yourself, ... Two computers? ...
    (borland.public.delphi.language.objectpascal)
  • Re: Another RMD salute
    ... I can't say that I've had a look-see through John's various computers, ... Regarding the flag, there's nothing wrong with burning a flag. ...
    (rec.motorcycles.dirt)
  • Re: Emails print-out with no user name on top left
    ... They have computers on their desks for decoration only and reading the stock ... Both of them don't know Microsoft and don't bother to learn emails. ... Making hard copies could be for many purposes. ...
    (microsoft.public.outlook)
  • Re: False and misleading advertising by Midway USA (midwayusa.com)
    ... # Their system ought to be programmed to catch, flag and ideally prevent ... That's what computers are for. ... same time - Donate to MPFO today! ...
    (rec.guns)