timerfd: Prepare for PREEMPT_RT
authorAnna-Maria Gleixner <anna-maria@linutronix.de>
Tue, 30 Jul 2019 22:33:50 +0000 (00:33 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 1 Aug 2019 18:51:23 +0000 (20:51 +0200)
commita125ecc16453a4fe0ba865c7df87b9c722991fdf
tree959dbc9c47895ea4ca3cd06cf95b5a3cbbf081d7
parent51ae33092bb8320497ec75ddc5ab383d8fafd55c
timerfd: Prepare for PREEMPT_RT

Use the hrtimer_cancel_wait_running() synchronization mechanism to prevent
priority inversion and live locks on PREEMPT_RT.

[ tglx: Split out of combo patch ]

Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20190730223828.600085866@linutronix.de
fs/timerfd.c