[patch v3 0/3] percpu_counter: cleanup and fix

From: shaohua . li
Date: Wed Apr 13 2011 - 22:07:55 EST


Cleanup percpu_counter code and fix some bugs. The main purpose is to convert
percpu_counter to use atomic64, which is useful for workloads which cause
percpu_counter->lock contented. In a workload I tested, the atomic method is
7x faster (please see patch 3 for detail).

Note, patch 3 is against Christoph's 'percpu: preemptless __per_cpu_counter_add'
--
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/