[klibc] Re: sys_mmap2 on different architectures

H. Peter Anvin hpa at zytor.com
Thu Feb 23 09:43:51 PST 2006


Ralf Baechle wrote:
> 
> 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.
> 

No, that's not correct.  This API is relevant to 32-bit *USERSPACE*.  If 
you support 32-bit userspace on a 64-bit kernel, it applies to 64-bit 
kernels, too.

	-hpa



More information about the klibc mailing list