This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] MIPS: delete getpagesize.c
On Fri, Dec 3, 2010 at 5:21 PM, Joseph S. Myers <joseph@codesourcery.com> wrote:
> On Tue, 30 Nov 2010, Matt Turner wrote:
>
>> MIPS' getpagesize.c just included ia64's getpagesize.c, which was in
>> turn just the implementation sysdeps/unix/sysv/linux/getpagesize.c with
>> ifdef __ASSUME_AT_PAGESIZE which is defined on all Linux platforms since
>> 2.4.0-pre. Just use the generic implementation which will do the exact
>> same thing.
>
> It looks like the default configuration for MIPS is for
> arch_minimum_kernel=2.4.0 and __ASSUME_AT_PAGESIZE is only defined for
> 2.4.1 or later, so this would change things for anyone configuring without
> --enable-kernel. ?Support for anything before 2.6 isn't exactly *useful*
> with current glibc given that NPTL is the only threading implementation
> available; should we increase arch_minimum_kernel for MIPS to 2.6.0 or
> greater before putting this patch in?
Looking at kernel-features.h, it seems that a huge number of syscalls
were enabled first in 2.4.1.
I don't have any problem at all with increasing arch_minimum_kernel,
but I imagine some people do still use 2.4.x, so maybe we should just
modify arch_minimum_kernel to be 2.4.1? I can't think of _any_ reason
why someone would want to use plain 2.4.0.
Matt