]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sched: Move cpu_active() tests from stop_two_cpus() into migrate_swap_stop()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 9 Oct 2015 16:36:29 +0000 (18:36 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 20 Oct 2015 08:25:56 +0000 (10:25 +0200)
commit62694cd51322262a9142e946915fc4783113ccff
treeafcbbd408026ef603f6831fce8867b73601d77ec
parent07f06cb3b5f6bd21374a48dbefdb431d71d53974
sched: Move cpu_active() tests from stop_two_cpus() into migrate_swap_stop()

The cpu_active() tests are not fundamentally part of stop_two_cpus(),
move then into the scheduler where they belong.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
kernel/stop_machine.c