linux-mips
[Top] [All Lists]

Re: CVS Update@-mips.org: linux

To: linux-mips@linux-mips.org
Subject: Re: CVS Update@-mips.org: linux
From: Kumba <kumba@gentoo.org>
Date: Mon, 23 Aug 2004 05:54:19 -0400
In-reply-to: <Pine.LNX.4.58L.0408231124040.19572@blysk.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20040820120223Z8225206-1530+8785@linux-mips.org> <Pine.LNX.4.58L.0408231124040.19572@blysk.ds.pg.gda.pl>
Reply-to: kumba@gentoo.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113
Maciej W. Rozycki wrote:

On Fri, 20 Aug 2004 ralf@linux-mips.org wrote:


Log message:
        Undo change from rev 1.37; some userspace software is expecting
        PAGE_SIZE, PAGE_SHIFT and PAGE_MASK to be accessible through
        <asm/page.h>.  Sigh ...


 Fix that software then, instead of breaking good one (hint -- what is the
"right" value of PAGE_SHIFT and why it doesn't work for that system over
there?).  With these macros exported it's hard to guess whether the page
size can be hardcoded or it should get determined at the run time. And with glibc you get a compilation error due to PAGE_SHIFT being undefined. Please revert the braindamage.

 What software is the offender, BTW?

  Maciej

procps is probably the trigger of this. Me and some other Gentoo/MIPS devs/users got into a bit of a heated discussion w/ the procps maintainer, who didn't quite like the fact that A) We don't use "sanitized" kernel headers B) PAGE_SIZE was hidden on MIPS and C) "properly sanitized" headers would provide PAGE_SIZE. We opted instead for a patch to procps that used sysconf(_SC_PAGESIZE) to fetch the value, and I guess this just didn't rub the right way w/ the maintainer. Got me.

I can post the discussions for those interested (or just looking for amusement), and anyone curious enough can look at proc/procps.h in the procps tree for a rather amusing (IMHO) comment on MIPS at the top of the source.


--Kumba

--
"Such is oft the course of deeds that move the wheels of the world: small hands do them because they must, while the eyes of the great are elsewhere." --Elrond

<Prev in Thread] Current Thread [Next in Thread>