summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2006-03-24 03:18:10 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 07:33:26 -0800
commit8a14342683b1e3adcf5f78660a42fcbd95b44a35 (patch)
tree332265cb9fe8b1e107864cdb380bf5f6b4bfb840 /fs/hfsplus
parent2ecb9e633c5057d1203a59ef3e5c3aaea37c402e (diff)
downloadop-kernel-dev-8a14342683b1e3adcf5f78660a42fcbd95b44a35.zip
op-kernel-dev-8a14342683b1e3adcf5f78660a42fcbd95b44a35.tar.gz
[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>
Diffstat (limited to 'fs/hfsplus')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud