Eric Dumazet
8a14342683
[PATCH] HOTPLUG_CPU: avoid hitting too many cachelines in recalc_bh_state()
...
Instead of using for_each_cpu(i), we can use for_each_online_cpu(i).
When a CPU goes offline (ie removed from online map), it might have a non
null bh_accounting.nr, so this patch adds a transfer of this counter to an
online CPU counter.
We already have a hotcpu_notifier, (function buffer_cpu_notify()), where we
can do this bh_accounting.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-24 07:33:26 -08:00
..
2006-03-24 07:33:21 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:24 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:25 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:24 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:17 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-23 20:00:26 +01:00
2006-03-24 07:33:25 -08:00
2006-03-24 07:33:26 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-23 19:56:55 +01:00
2006-03-23 19:56:55 +01:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 07:33:24 -08:00
2006-03-24 07:33:15 -08:00