aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/hyperv_timer.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2019-08-02 05:35:59 +0000
committerThomas Gleixner <[email protected]>2019-08-20 20:05:46 +0000
commitec8f954a40da8cd3d159713b608e901f0cd909a9 (patch)
treea6099be5d308424ad07e3332f45cc3b757b28e90 /drivers/clocksource/hyperv_timer.c
parentposix-timers: Move rcu_head out of it union (diff)
downloadkernel-ec8f954a40da8cd3d159713b608e901f0cd909a9.tar.gz
kernel-ec8f954a40da8cd3d159713b608e901f0cd909a9.zip
posix-timers: Use a callback for cancel synchronization on PREEMPT_RT
Posix timer delete retry loops are affected by the same priority inversion and live lock issues as the other timers. Provide a RT specific synchronization function which keeps a reference to the timer by holding rcu read lock to prevent the timer from being freed, dropping the timer lock and invoking the timer specific wait function via a new callback. This does not yet cover posix CPU timers because they need more special treatment on PREEMPT_RT. [ This is folded into the original attempt which did not use a callback. ] Originally-by: Anna-Maria Gleixenr <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/clocksource/hyperv_timer.c')
0 files changed, 0 insertions, 0 deletions