summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/softirq-Avoid-a-cancel-dead-lock-in-tasklet-handling.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/softirq-Avoid-a-cancel-dead-lock-in-tasklet-handling.patch')
-rw-r--r--debian/patches-rt/softirq-Avoid-a-cancel-dead-lock-in-tasklet-handling.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches-rt/softirq-Avoid-a-cancel-dead-lock-in-tasklet-handling.patch b/debian/patches-rt/softirq-Avoid-a-cancel-dead-lock-in-tasklet-handling.patch
index 4663d89c1..1eb54ea37 100644
--- a/debian/patches-rt/softirq-Avoid-a-cancel-dead-lock-in-tasklet-handling.patch
+++ b/debian/patches-rt/softirq-Avoid-a-cancel-dead-lock-in-tasklet-handling.patch
@@ -2,10 +2,10 @@ From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Sat, 22 Jun 2019 00:09:22 +0200
Subject: [PATCH] softirq: Avoid a cancel dead-lock in tasklet handling due to
preemptible-softirq
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patches-5.4.3-rt1.tar.xz
A pending / active tasklet which is preempted by a task on the same CPU
-will spin indefinitely becauase the tasklet makes no progress.
+will spin indefinitely because the tasklet makes no progress.
To avoid this deadlock we can disable BH which will acquire the
softirq-lock which will force the completion of the softirq and so the
tasklet.
@@ -23,7 +23,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
-@@ -625,7 +625,10 @@ static inline void tasklet_unlock(struct
+@@ -626,7 +626,10 @@ static inline void tasklet_unlock(struct
static inline void tasklet_unlock_wait(struct tasklet_struct *t)
{