Re: [PATCH 1/3] page-flags: record page flag overlays explicitly

From: Christoph Lameter
Date: Thu May 15 2008 - 13:28:12 EST


On Thu, 15 May 2008, Andy Whitcroft wrote:

> Now that we have a single enum to generate the bit orders it makes sense
> to express overlays in the same place. So create per use aliases for
> this bit in the main page-flags enum and use those in the accessors.

Well I thought it would be better to have the overlays defined when the
PAGEFLAGS_xx macro is used. If that is done then every PG_xxx has a unique
id. The aliasing is then only through PageXXXX() using a PG_yyy
--
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/