From: Gautham R Shenoy Date: Fri, 19 Oct 2007 06:40:47 +0000 (-0700) Subject: Add irq protection in the percpu-counters cpu-hotplug-callback path X-Git-Tag: v2.6.24-rc1~172 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2b20b11547cefc89d6c81937e81afaf3c62808b;p=pandora-kernel.git 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 Cc: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed