diff options
Diffstat (limited to 'patches/sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch')
-rw-r--r-- | patches/sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/patches/sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch b/patches/sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch deleted file mode 100644 index ec0fd798a78d..000000000000 --- a/patches/sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch +++ /dev/null @@ -1,40 +0,0 @@ -From: Juri Lelli <juri.lelli@redhat.com> -Date: Wed, 31 Jul 2019 12:37:15 +0200 -Subject: [PATCH] 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 -Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> ---- - kernel/sched/deadline.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - ---- a/kernel/sched/deadline.c -+++ b/kernel/sched/deadline.c -@@ -287,7 +287,7 @@ static void task_non_contending(struct t - - dl_se->dl_non_contending = 1; - get_task_struct(p); -- hrtimer_start(timer, ns_to_ktime(zerolag_time), HRTIMER_MODE_REL); -+ hrtimer_start(timer, ns_to_ktime(zerolag_time), HRTIMER_MODE_REL_HARD); - } - - static void task_contending(struct sched_dl_entity *dl_se, int flags) -@@ -1325,7 +1325,7 @@ void init_dl_inactive_task_timer(struct - { - struct hrtimer *timer = &dl_se->inactive_timer; - -- hrtimer_init(timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); -+ hrtimer_init(timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_HARD); - timer->function = inactive_task_timer; - } - |