aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lguest/x86/core.c
diff options
context:
space:
mode:
authorGautham R Shenoy <ego@in.ibm.com>2008-01-25 21:08:01 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-25 21:08:01 +0100
commitd221938c049f4845da13c8593132595a6b9222a8 (patch)
tree8eae6c7095a3d7d31d7435befc30019540a4d13e /drivers/lguest/x86/core.c
parentsched: group scheduler, fix fairness of cpu bandwidth allocation for task groups (diff)
downloadlinux-dev-d221938c049f4845da13c8593132595a6b9222a8.tar.xz
linux-dev-d221938c049f4845da13c8593132595a6b9222a8.zip
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 <ego@in.ibm.com> Signed-off-by: Paul Jackson <pj@sgi.com> [For !CONFIG_HOTPLUG_CPU ] Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/lguest/x86/core.c')
0 files changed, 0 insertions, 0 deletions