Re: zoned vm counters: per zone counter functionality

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux