public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: DervishD <raul@pleyades.net>
To: mblack@csihq.com, linux-kernel@vger.kernel.org
Subject: Re: mmap'ing a large file
Date: Thu, 15 Aug 2002 12:02:41 +0200	[thread overview]
Message-ID: <3D5B7C41.mail12L21FEQ4@viadomus.com> (raw)
In-Reply-To: <050a01c243a9$2afa3590$f6de11cc@black>

    Hi Mike :)

>Is there a logical reason why a process can't mmap more than a 2G file?

    Seems to be the value of TASK_MAX if you don't have HIGHMEM.

    Moreover, if you try to mmap a size between TASK_MAX and
ULONG_MAX, you hit a corner case that I fixed in the -ac series, the
2.5.x series and other trees, *except* the 2.4.x 'official', because
Marcelo doesn't apply the patch (three lines... trivial I think).

    Raúl

      parent reply	other threads:[~2002-08-15  9:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-14 15:42 mmap'ing a large file Mike Black
2002-08-14 16:32 ` Gianni Tedesco
2002-08-14 19:42   ` Jamie Lokier
2002-08-15 19:34   ` H. Peter Anvin
2002-08-15 10:02 ` DervishD [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D5B7C41.mail12L21FEQ4@viadomus.com \
    --to=raul@pleyades.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mblack@csihq.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox