Messages in this thread | | | Date | Thu, 23 Feb 2006 17:32:16 +0000 | From | Ralf Baechle <> | Subject | Re: 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/
| |