timers: Make the cpu base lock raw
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 27 Jun 2017 16:15:38 +0000 (18:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Jun 2017 22:27:24 +0000 (00:27 +0200)
commit2287d8664fe7345ead891017eccd879fc605305e
tree7f187529f1d1dacf4b41225551bbf158bb70414d
parentf5b816786f7687a2ec0f485a1138b009d2020352
timers: Make the cpu base lock raw

The timers cpu base lock could not be converted to a raw spinlock becaue
the lock held time was non-deterministic due to cascading and long lasting
timer wheel traversals.

The rework of the timer wheel to the new non-cascading model removed also
the wheel traversals and the lock held times are deterministic now. This
allows to make the lock raw and thereby unbreaks NOHz* on preempt-RT.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: http://lkml.kernel.org/r/20170627161538.30257-1-bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/timer.c