Re: zoned vm counters: per zone counter functionality

From: Nick Piggin
Date: Tue Jun 13 2006 - 21:20:36 EST


Christoph Lameter wrote:

On Tue, 13 Jun 2006, Nick Piggin wrote:


Is there any point in using a more meaningful namespace prefix than NR_
for the zone_stat_items?



+enum zone_stat_item {
+ NR_STAT_ITEMS };
+


How about

NR_VM_ZONE_STAT_ITEMS ?




I guess that's OK.

Hmm, then NR_ANON would become VM_ZONE_STAT_NR_ANON? That might be a bit
long for your tastes, maybe the prefix could be hidden by "clever" macros?

--

Send instant messages to your online friends http://au.messenger.yahoo.com -
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/