lkml.org 
[lkml]   [2006]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sys_mmap2 on different architectures
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-23 18:35    [W:2.992 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site