Re: PAGE_SIZE Availability Inconsistency

From: Christoph Hellwig
Date: Thu Mar 08 2007 - 04:00:59 EST


On Thu, Mar 08, 2007 at 03:18:04AM +0100, Roman Zippel wrote:
> Hi,
>
> On Tuesday 06 March 2007 10:29, Christoph Hellwig wrote:
>
> > PAGE_SIZE should not be available at all. Please use getpagesize()
> > instead.
>
> While I agree, NBPG is a bit of a problem, although it's only needed for aout
> coredumps AFAICT, but still needed to compile e.g. gdb.

So we should export this one with an arbitrary value (on multiple page
size architectures) and a warning, maybe even an __deprecated attached to
it.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/