hrtimer: Convert to hotplug state machine
authorThomas Gleixner <tglx@linutronix.de>
Fri, 15 Jul 2016 08:41:04 +0000 (10:41 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 15 Jul 2016 08:41:37 +0000 (10:41 +0200)
commit27590dc17b34aedc4f3e14bd107ee59b9db9b0a6
tree497208a2586ac32c9bea908e04fecadd553cfd5e
parentae6a8a2ed721ecdbc15d32b2089af5ed2190adc7
hrtimer: Convert to hotplug state machine

Split out the clockevents callbacks instead of piggybacking them on
hrtimers.

This gets rid of a POST_DEAD user. See commit:

  54e88fad223c ("sched: Make sure timers have migrated before killing the migration_thread")

We just move the callback state to the proper place in the state machine.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: rt@linutronix.de
Link: http://lkml.kernel.org/r/20160713153337.485419196@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/cpuhotplug.h
include/linux/hrtimer.h
kernel/cpu.c
kernel/time/hrtimer.c