lkml.org 
[lkml]   [2006]   [Jun]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromAndi Kleen <>
SubjectRe: [RFC] Use ZVCs for numa statistics.
DateWed, 14 Jun 2006 07:48:32 +0200
On Wednesday 14 June 2006 03:13, Christoph Lameter wrote:
> The numa statistics are really event counters. But they are per
> node and therefore we can use the per zone feature to easily
> implement what we need.
> 
> Remove the special statistics for numa and replace them with
> zoned vm counters.

Looks reasonable.
> 
> This has the side effect that global sums of these events now show up
> in /proc/vmstat.
> 
> I am not sure if this is a good approach. It certainly removes a
> lot of code and may place the counters more securely into the
> pcp cacheline but the implementation may be less efficient than the
> original code (not tested yet) since the ZVC require the disabling
> of interrupts. 

I still hope that can be avoided by using local_t properly.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-14 05:51    [from the cache]
©2003-2008