Re: sys_mmap2 on different architectures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 22, 2006 at 07:35:50PM -0800, H. Peter Anvin wrote:

> This is what I've found so far: (64-bit architectures excluded)
> 
> 	arm		- N/A (PAGE_SHIFT == 12)
> 	arm26		- MMAP2_PAGE_SHIFT == 12
> 	cris		- MMAP2_PAGE_SHIFT == PAGE_SHIFT (13)
> 	frv		- MMAP2_PAGE_SHIFT == 12
> 	h8300		- N/A (PAGE_SHIFT == 12)
> 	i386		- N/A (PAGE_SHIFT == 12)
> 	m32r		- N/A (PAGE_SHIFT == 12)
> 	m68k		- MMAP2_PAGE_SHIFT == PAGE_SHIFT (variable)
> 	mips		- MMAP2_PAGE_SHIFT == PAGE_SHIFT (variable)

A variable which happens to be fixed to 12 in practice.  As explained by
Ben the API is only relevant to 32-bit kernels and afaik PAGE_SHIFT
other than 12 has only been successfully been tested on 64-bit kernels.

  Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux