sched/migration: Move CPU_ONLINE into scheduler state
authorThomas Gleixner <tglx@linutronix.de>
Thu, 10 Mar 2016 11:54:17 +0000 (12:54 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 6 May 2016 12:58:25 +0000 (14:58 +0200)
commit7d97669933eb94245ec9b715753753ec5ca8f646
tree2bd611a9679130a468c3782ce108a1be262f13bc
parente9cd8fa4fcfd67c95db9b87c0fff88fa23cb00e5
sched/migration: Move CPU_ONLINE into scheduler state

The alleged requirement that the migration notifier has a lower priority than
perf is completely undocumented and there is no indication at all that this is
true. perf does not even handle the CPU_ONLINE notification and perf really
has nothing to do with migration.

Move the CPU_ONLINE code into the sched_activate_cpu() state callback.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: rt@linutronix.de
Link: http://lkml.kernel.org/r/20160310120025.421743581@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched/core.c