Files
linux-st/include/linux
Andrew Morton c67ad917cb percpu_counters(): use cpu notifiers
per-cpu counters presently must iterate over all possible CPUs in the
exhaustive percpu_counter_sum().

But it can be much better to only iterate over the presently-online CPUs.  To
do this, we must arrange for an offlined CPU's count to be spilled into the
counter's central count.

We can do this for all percpu_counters in the machine by linking them into a
single global list and walking that list at CPU_DEAD time.

(I hope.  Might have race windows in which the percpu_counter_sum() count is
inaccurate?)

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>
2007-07-16 09:05:41 -07:00
..
2007-07-12 15:41:24 -07:00
2007-06-16 13:16:16 -07:00
2007-07-13 08:06:14 -07:00
2007-05-11 05:38:26 -04:00
2007-05-23 20:14:12 -07:00
2007-05-21 09:56:57 -07:00
2007-05-10 18:24:13 +02:00
2007-07-09 08:22:54 +01:00
2007-07-09 08:23:17 +01:00
2007-07-11 16:09:00 -07:00
2007-07-12 10:55:56 -07:00
2007-06-01 08:18:29 -07:00
2007-05-31 16:20:15 -04:00
2007-05-31 16:20:14 -04:00
2007-07-16 09:05:41 -07:00
2007-06-18 09:48:41 -07:00
2007-07-10 00:35:17 -04:00
2007-07-09 18:51:58 +02:00
2007-05-11 16:56:02 +02:00
2007-07-09 23:17:58 +02:00
2007-07-16 09:05:34 -07:00
2007-07-10 22:15:03 -07:00
2007-07-14 18:55:06 -07:00
2007-05-11 08:29:36 -07:00
2007-05-11 08:29:34 -07:00
2007-05-15 08:54:00 -07:00
2007-07-10 22:16:44 -07:00
2007-06-08 17:23:34 -07:00
2007-07-10 22:15:26 -07:00
2007-07-10 21:30:33 -04:00
2007-05-18 20:46:30 -07:00
2007-07-16 09:05:34 -07:00
2007-07-16 09:05:37 -07:00
2007-07-10 17:33:05 +01:00
2007-07-14 18:55:06 -07:00
2007-07-16 09:05:40 -07:00
2007-06-07 13:39:34 -07:00
2007-05-17 05:23:06 -07:00
2007-05-11 08:29:36 -07:00
2007-05-11 08:29:36 -07:00
2007-07-16 09:05:36 -07:00
2007-07-16 09:05:36 -07:00
2007-07-16 09:05:36 -07:00
2007-07-16 09:05:36 -07:00
2007-05-21 21:47:27 -07:00
2007-07-16 09:05:40 -07:00
2007-05-11 08:29:34 -07:00
2007-07-16 09:05:41 -07:00
2007-05-11 08:29:36 -07:00
2007-05-11 08:29:35 -07:00
2007-05-11 08:29:35 -07:00
2007-07-12 16:34:40 -07:00
2007-07-09 18:52:01 +02:00
2007-05-21 09:18:19 -07:00