Re: [Linux-ia64] mmap failure

From: David Mosberger <davidm_at_napali.hpl.hp.com>
Date: 2003-05-28 06:38:28
>>>>> On Tue, 27 May 2003 21:55:05 +0200, Ronald Veldema <veldema@cs.fau.de> said:

  Ronald> Hi all, it looks like mmap fails when calling mmap as:

  Ronald>     mmap(0x30000066910000, 16384, PROT_READ | PROT_WRITE,
  Ronald> MAP_FIXED,MAP_PRIVATE, fd,0x30000066910000);

  Ronald> Other addresses are ok. It fails with EINVAL.  Is
  Ronald> 0x30000... reserved for the kernel ?  R.

No, but it's not mappable by the Linux kernel.

The details are in the VM chapter of my book (Figure 4.13, in
particular).  If you don't want to buy the book just because of this,
you're in luck: the VM chapter happens to be the sample chapter
available at:

	http://www.lia64.org/book/

Hope this helps,

	--david
Received on Tue May 27 13:40:02 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:15 EST