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: 0578248bed ("ANDROID: softirq: defer softirq processing to ksoftirqd if CPU is busy with RT")
Change-Id: Id71afcd252ddc69d97ec5167845c602f3aaba3ac
Signed-off-by: Liang Chen <cl@rock-chips.com>
This commit is contained in:
Liang Chen
2021-09-06 15:58:01 +08:00
parent 8bce8175e3
commit dc824982a5

View File

@@ -326,6 +326,10 @@ restart:
if (time_before(jiffies, end) && !need_resched() &&
--max_restart)
goto restart;
#ifndef CONFIG_RT_SOFTINT_OPTIMIZATION
wakeup_softirqd();
#endif
}
#ifdef CONFIG_RT_SOFTINT_OPTIMIZATION