[klibc] Re: [PATCH] get rid of asm/page.h usage
H. Peter Anvin
hpa at zytor.com
Mon Feb 21 10:57:13 PST 2005
Olaf Hering wrote:
> On Mon, Feb 21, H. Peter Anvin wrote:
>
>
>>Olaf Hering wrote:
>>
>>>I think there is no need to special case some archs, just get the thing
>>>during runtime on all archs.
>>
>>The problem is that MMAP2_SHIFT != __getpageshift() on sparc32, that is
>>at least my understanding.
>
>
> uclibc and glibc have this comment, and they force the size to 12:
>
> This is always 12, even on architectures where PAGE_SHIFT != 12
>
Hm. I'm not sure if that's right. I think I'd have to look at the
kernel code in more detail.
I'll look at it and perhaps MMAP2_SHIFT should be hard-wired to 12.
-hpa
More information about the klibc
mailing list