Softirq:avoid large sched delay from the pending softirqs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest4 patches 20 repliesIn review
- v61 patch 8 repliesSuperseded
- v41 patch 8 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 1 patch | 2 replies | Superseded | |
| v2 RFC | 1 patch | 8 replies | Superseded | |
| v1 RFC | 1 patch | 2 replies | Superseded |
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | softirq: Use sched_clock() based timeoutkernel/ | +4 | 1 reply | |
| 2/4 | softirq: Factor loop termination conditionkernel/ | +25 | 2 replies | |
| 3/4 | softirq: Rewrite softirq processing loopkernel/ | +6 | 0 replies | |
| 4/4 | softirq: Allow early break the softirq processing loopkernel/ | +91 | 17 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.
Cover letter [PATCH V7 0/4] Softirq:avoid large sched delay from the pending softirqs
From: jun qian <[email protected]>
When get the pending softirqs, it need to process all the pending softirqs in the while loop. If the processing time of each pending softirq is need more than 2 msec in this loop, or one of the softirq will running a long time, according to the original code logic, it will process all the pending softirqs without wakeuping ksoftirqd, which will cause a relatively large scheduling delay on the corresponding CPU, which we do not wish to see. The patch will check the total time to process pending softirq, if the time exceeds 2 ms we need to wakeup the ksofirqd to aviod large sched delay.
jun qian (4):
softirq: Use sched_clock() based timeout
softirq: Factor loop termination condition
softirq: Rewrite softirq processing loop
softirq: Allow early break the softirq processing loop
kernel/softirq.c | 168 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 120 insertions(+), 48 deletions(-)
Signature · 1 line
1.8.3.1