RE: [Linux-ia64] mmap failure

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2003-05-28 06:34:10
>     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
Received on Tue May 27 13:34:35 2003

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