ANDROID: softirq: add tasklet to LONG_SOFTIRQ_MASK
In commit 35a06697da ("FROMLIST: sched: Avoid placing RT threads on cores handling long softirqs"), the patch drop TASKLET_SOFTIRQ from LONG_SOFTIRQS.
Some drivers use tasklet softirq for data reception from firmware. When
there's a high volume or continuous stream of data from the firmware,
it can lead to unexpectedly long execution times for RT tasks and further cause jank or audio glitch.
Bug: 333895950
Test: check tasklet are defered when RT task is running
Change-Id: I53d6b43fe5a8860758898f09810a52fe319344f9
Signed-off-by: lukechang <lukechang@google.com>
This commit is contained in:
parent
ca4095789f
commit
3547821560
1 changed files with 2 additions and 1 deletions
|
|
@ -590,7 +590,8 @@ enum
|
|||
#define LONG_SOFTIRQ_MASK (BIT(NET_TX_SOFTIRQ) | \
|
||||
BIT(NET_RX_SOFTIRQ) | \
|
||||
BIT(BLOCK_SOFTIRQ) | \
|
||||
BIT(IRQ_POLL_SOFTIRQ))
|
||||
BIT(IRQ_POLL_SOFTIRQ) | \
|
||||
BIT(TASKLET_SOFTIRQ))
|
||||
|
||||
/* map softirq index to softirq name. update 'softirq_to_name' in
|
||||
* kernel/softirq.c when adding a new softirq.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue