summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch
diff options
context:
space:
mode:
authorSalvatore Bonaccorso <carnil@debian.org>2019-12-18 18:06:31 +0100
committerSalvatore Bonaccorso <carnil@debian.org>2019-12-18 22:50:21 +0100
commit102987a83771aa994821d4d982d06faa64c789e4 (patch)
tree3e5ab5206886ec297a1a97ce80f504d75468ed2f /debian/patches-rt/sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch
parent479cb120ecb2b3f2c4d929a7b57860248d6f79bd (diff)
downloadlinux-debian-102987a83771aa994821d4d982d06faa64c789e4.tar.gz
[rt] Update to 5.4.3-rt1 and re-enable
Adjust for context changes due to backport of e66b39af00f4 ("workqueue: Fix pwq ref leak in rescuer_thread()") and def98c84b6cd ("workqueue: Fix spurious sanity check failures in destroy_workqueue()") in 5.4.4.
Diffstat (limited to 'debian/patches-rt/sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch')
-rw-r--r--debian/patches-rt/sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/debian/patches-rt/sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch b/debian/patches-rt/sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch
deleted file mode 100644
index 12c03de10..000000000
--- a/debian/patches-rt/sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch
+++ /dev/null
@@ -1,41 +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
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz
-
-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)
-@@ -1292,7 +1292,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;
- }
-