diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2019-12-18 18:06:31 +0100 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2019-12-18 22:50:21 +0100 |
commit | 102987a83771aa994821d4d982d06faa64c789e4 (patch) | |
tree | 3e5ab5206886ec297a1a97ce80f504d75468ed2f /debian/patches-rt/block-Don-t-disable-interrupts-in-trigger_softirq.patch | |
parent | 479cb120ecb2b3f2c4d929a7b57860248d6f79bd (diff) | |
download | linux-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/block-Don-t-disable-interrupts-in-trigger_softirq.patch')
-rw-r--r-- | debian/patches-rt/block-Don-t-disable-interrupts-in-trigger_softirq.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/debian/patches-rt/block-Don-t-disable-interrupts-in-trigger_softirq.patch b/debian/patches-rt/block-Don-t-disable-interrupts-in-trigger_softirq.patch new file mode 100644 index 000000000..96d516fb1 --- /dev/null +++ b/debian/patches-rt/block-Don-t-disable-interrupts-in-trigger_softirq.patch @@ -0,0 +1,36 @@ +From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> +Date: Fri, 15 Nov 2019 21:37:22 +0100 +Subject: [PATCH] block: Don't disable interrupts in trigger_softirq() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patches-5.4.3-rt1.tar.xz + +trigger_softirq() is always invoked as a SMP-function call which is +always invoked with disables interrupts. + +Don't disable interrupt in trigger_softirq() because interrupts are +already disabled. + +Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> +--- + block/blk-softirq.c | 4 ---- + 1 file changed, 4 deletions(-) + +--- a/block/blk-softirq.c ++++ b/block/blk-softirq.c +@@ -42,17 +42,13 @@ static __latent_entropy void blk_done_so + static void trigger_softirq(void *data) + { + struct request *rq = data; +- unsigned long flags; + struct list_head *list; + +- local_irq_save(flags); + list = this_cpu_ptr(&blk_cpu_done); + list_add_tail(&rq->ipi_list, list); + + if (list->next == &rq->ipi_list) + raise_softirq_irqoff(BLOCK_SOFTIRQ); +- +- local_irq_restore(flags); + } + + /* |