Home
last modified time | relevance | path

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

/linux-3.4.99/kernel/
Dcpu.c55 } cpu_hotplug = { variable
57 .lock = __MUTEX_INITIALIZER(cpu_hotplug.lock),
64 if (cpu_hotplug.active_writer == current) in get_online_cpus()
66 mutex_lock(&cpu_hotplug.lock); in get_online_cpus()
67 cpu_hotplug.refcount++; in get_online_cpus()
68 mutex_unlock(&cpu_hotplug.lock); in get_online_cpus()
75 if (cpu_hotplug.active_writer == current) in put_online_cpus()
77 mutex_lock(&cpu_hotplug.lock); in put_online_cpus()
78 if (!--cpu_hotplug.refcount && unlikely(cpu_hotplug.active_writer)) in put_online_cpus()
79 wake_up_process(cpu_hotplug.active_writer); in put_online_cpus()
[all …]
/linux-3.4.99/drivers/xen/
DMakefile8 obj-$(CONFIG_HOTPLUG_CPU) += cpu_hotplug.o
/linux-3.4.99/Documentation/
Dcpu-hotplug.txt117 cpu_hotplug.refcount is non zero, the cpu_online_mask will not change.