diff options
author | Gautham R Shenoy <ego@in.ibm.com> | 2007-10-18 23:40:47 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 11:53:44 -0700 |
commit | d2b20b11547cefc89d6c81937e81afaf3c62808b (patch) | |
tree | 50a6c8e1d86c38fff417907d821eec0e0731e1a5 /ipc/util.c | |
parent | 73e753a50dcac7d6d4fa8b9552203ef544a70d77 (diff) | |
download | lwn-d2b20b11547cefc89d6c81937e81afaf3c62808b.tar.gz lwn-d2b20b11547cefc89d6c81937e81afaf3c62808b.zip |
Add irq protection in the percpu-counters cpu-hotplug-callback path
Some of the per-cpu counters and thus their locks are accessed from IRQ
contexts. This can cause a deadlock if it interrupts a cpu-offline thread
which is transferring a dead-cpu's counts to the global counter.
Add appropriate IRQ protection in the cpu-hotplug callback path.
Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions