summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-06-15 12:36:06 +0200
committerClark Williams <williams@redhat.com>2011-12-28 16:25:39 -0600
commit77b32e1656bd7492bf3268900b44393ebb1ccd8e (patch)
tree47e45320e3b653d696ae887a1f575531cfa3666b /net
parent609570e5f2c33476c237f9bd6fbb3bc278de2e6c (diff)
hotplug: Lightweight get online cpus
get_online_cpus() is a heavy weight function which involves a global mutex. migrate_disable() wants a simpler construct which prevents only a CPU from going doing while a task is in a migrate disabled section. Implement a per cpu lockless mechanism, which serializes only in the real unplug case on a global mutex. That serialization affects only tasks on the cpu which should be brought down. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions