Re: zoned vm counters: per zone counter functionality

Nick Piggin
2006-06-14T01:21:49Z

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