sched/deadline: Ensure inactive_timer runs in hardirq context
authorJuri Lelli <juri.lelli@redhat.com>
Wed, 31 Jul 2019 10:37:15 +0000 (12:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 1 Aug 2019 18:51:22 +0000 (20:51 +0200)
commit850377a875a481c393ce59111b0c9725005e0eb4
treec39cb23e6f3fde65bea61902b108fca8bf957dd2
parent030dcdd197d77374879bb5603d091eee7d8aba80
sched/deadline: Ensure inactive_timer runs in hardirq context

SCHED_DEADLINE inactive timer needs to run in hardirq context (as
dl_task_timer already does) on PREEMPT_RT

Change the mode to HRTIMER_MODE_REL_HARD.

[ tglx: Fixed up the start site, so mode debugging works ]

Signed-off-by: Juri Lelli <juri.lelli@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190731103715.4047-1-juri.lelli@redhat.com
kernel/sched/deadline.c