Messages in this thread | | | Date | Thu, 15 May 2008 10:28:00 -0700 (PDT) | From | Christoph Lameter <> | Subject | Re: [PATCH 1/3] page-flags: record page flag overlays explicitly |
| |
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
| |