Re: [RFC] Use ZVCs for numa statistics.

From: Andi Kleen
Date: Wed Jun 14 2006 - 01:47:38 EST


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