From: Gautham R Shenoy Date: Wed, 9 May 2007 09:34:04 +0000 (-0700) Subject: Eliminate lock_cpu_hotplug in kernel/schedc X-Git-Tag: v2.6.22-rc1~237 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5be9361cdff17fc76fa0c3e262ead94158555f16;p=pandora-kernel.git Eliminate lock_cpu_hotplug in kernel/schedc Eliminate lock_cpu_hotplug from kernel/sched.c and use sched_hotcpu_mutex instead to postpone a hotplug event. In the migration_call hotcpu callback function, take sched_hotcpu_mutex while handling the event CPU_LOCK_ACQUIRE and release it while handling CPU_LOCK_RELEASE event. [akpm@linux-foundation.org: fix deadlock] Signed-off-by: Gautham R Shenoy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed