Home
last modified time | relevance | path

Searched refs:cpu_hotplug (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/kernel/
Dcpu.c54 } cpu_hotplug = { variable
56 .lock = __MUTEX_INITIALIZER(cpu_hotplug.lock),
63 if (cpu_hotplug.active_writer == current) in get_online_cpus()
65 mutex_lock(&cpu_hotplug.lock); in get_online_cpus()
66 cpu_hotplug.refcount++; in get_online_cpus()
67 mutex_unlock(&cpu_hotplug.lock); in get_online_cpus()
74 if (cpu_hotplug.active_writer == current) in put_online_cpus()
76 mutex_lock(&cpu_hotplug.lock); in put_online_cpus()
77 if (!--cpu_hotplug.refcount && unlikely(cpu_hotplug.active_writer)) in put_online_cpus()
78 wake_up_process(cpu_hotplug.active_writer); in put_online_cpus()
[all …]
/linux-2.6.39/drivers/xen/
DMakefile8 obj-$(CONFIG_HOTPLUG_CPU) += cpu_hotplug.o
/linux-2.6.39/Documentation/
Dcpu-hotplug.txt117 cpu_hotplug.refcount is non zero, the cpu_online_map will not change.