public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: "Luck, Tony" <tony.luck@intel.com>
To: linux-ia64@vger.kernel.org
Subject: RE: [Linux-ia64] mmap failure
Date: Tue, 27 May 2003 20:34:10 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590723706050@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590723706049@msgid-missing>

>     it looks like mmap fails when calling mmap as:
> 
>     mmap(0x30000066910000,
>                 16384,
>             PROT_READ | PROT_WRITE,  
>           MAP_FIXED,MAP_PRIVATE,
>        fd,0x30000066910000);
> 
> Other addresses are ok. It fails with EINVAL.
> Is 0x30000... reserved for the kernel ?

0x30000066910000 is too far from a region boundary.

Although Itanium 2 supports a full 64-bit virtual
address space, Linux can't map objects to any place
in the 64-bit range because with a 3-level page
table it can't use all of the address bits.

The areas that can be mapped by Linux are at the
bottom and top of each Itanium "region" (top three
bits of the virtual address are the region number).

-Tony


  reply	other threads:[~2003-05-27 20:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27 19:55 [Linux-ia64] mmap failure Ronald Veldema
2003-05-27 20:34 ` Luck, Tony [this message]
2003-05-27 20:38 ` David Mosberger

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=marc-linux-ia64-105590723706050@msgid-missing \
    --to=tony.luck@intel.com \
    --cc=linux-ia64@vger.kernel.org \
    /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