From dc824982a527ef0f245410286dc3dd35955205a3 Mon Sep 17 00:00:00 2001 From: Liang Chen Date: Mon, 6 Sep 2021 15:58:01 +0800 Subject: [PATCH] softirq: retrieve wakeup_softirqd() We need call wakeup_softirqd() for the softirqs not completed in irq_exit() when CONFIG_RT_SOFTINT_OPTIMIZATION is not defined. Fixes: 0578248bedae ("ANDROID: softirq: defer softirq processing to ksoftirqd if CPU is busy with RT") Change-Id: Id71afcd252ddc69d97ec5167845c602f3aaba3ac Signed-off-by: Liang Chen --- kernel/softirq.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/softirq.c b/kernel/softirq.c index a6da60be62e8..d59412b34839 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -326,6 +326,10 @@ asmlinkage __visible void __softirq_entry __do_softirq(void) if (time_before(jiffies, end) && !need_resched() && --max_restart) goto restart; + +#ifndef CONFIG_RT_SOFTINT_OPTIMIZATION + wakeup_softirqd(); +#endif } #ifdef CONFIG_RT_SOFTINT_OPTIMIZATION