From: Gautham R Shenoy Date: Fri, 25 Jan 2008 20:08:01 +0000 (+0100) Subject: cpu-hotplug: refcount based cpu hotplug X-Git-Tag: v2.6.25-rc1~1237^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d221938c049f4845da13c8593132595a6b9222a8;p=pandora-kernel.git cpu-hotplug: refcount based cpu hotplug This patch implements a Refcount + Waitqueue based model for cpu-hotplug. Now, a thread which wants to prevent cpu-hotplug, will bump up a global refcount and the thread which wants to perform a cpu-hotplug operation will block till the global refcount goes to zero. The readers, if any, during an ongoing cpu-hotplug operation are blocked until the cpu-hotplug operation is over. Signed-off-by: Gautham R Shenoy Signed-off-by: Paul Jackson [For !CONFIG_HOTPLUG_CPU ] Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed