From mboxrd@z Thu Jan 1 00:00:00 1970 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 In-Reply-To: <1210871989.0@pinky> Message-ID: References: <1210871989.0@pinky> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andy Whitcroft Cc: linux-mm@kvack.org, Andrew Morton , KAMEZAWA Hiroyuki , KOSAKI Motohiro , Rik van Riel , Jeremy Fitzhardinge , linux-kernel@vger.kernel.org List-ID: 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org