From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 15 Feb 2007 08:05:06 -0800 (PST) From: Christoph Lameter Subject: Re: [PATCH 2/7] Add PageMlocked() page state bit and lru infrastructure In-Reply-To: <45D48075.8000709@mbligh.org> Message-ID: References: <20070215012449.5343.22942.sendpatchset@schroedinger.engr.sgi.com> <20070215012459.5343.72021.sendpatchset@schroedinger.engr.sgi.com> <20070215020916.GS10108@waste.org> <20070215145138.GT10108@waste.org> <45D48075.8000709@mbligh.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: "Martin J. Bligh" Cc: Matt Mackall , akpm@osdl.org, Christoph Hellwig , Arjan van de Ven , Nigel Cunningham , Peter Zijlstra , Nick Piggin , linux-mm@kvack.org, Rik van Riel , KAMEZAWA Hiroyuki List-ID: On Thu, 15 Feb 2007, Martin J. Bligh wrote: > Absolutely agree, especially as they seem to be getting more and more > complicated and the rules get more and more obscure. (and we all get > old ;-)) Could we should have a comment block before each of the Set/Clear PageXXX blocks? And remove the weird comments after the PG_xx defs? (I like the line /* slab debug (Suparna wants this) */ best. Never heard of him and it has now nothing to do with slab debug). How about defining page flags in a different way? Do it like enum zone_stat_item? enum page_flags = { PG_xx, ....., PG_yyy, NR_PG_FLAGS) ? -- 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