commit | b4ef0296f214a1e0e65f161f88663b0ca1acca31 | [log] [tgz] |
---|---|---|
author | Andrew Morton <akpm@linux-foundation.org> | Sun Jul 15 23:39:51 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Mon Jul 16 09:05:41 2007 -0700 |
tree | 57d0aa7e7201b6becf3bc69763e3efb090a297ce | |
parent | c67ad917cbf21b2862e2cf8e8b28339872ef7927 [diff] |
percpu_counters: use for_each_online_cpu() Now that we have implemented hotunplug-time counter spilling, percpu_counter_sum() only needs to look at online CPUs. Cc: Gautham R Shenoy <ego@in.ibm.com> Cc: Oleg Nesterov <oleg@tv-sign.ru> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>