workqueue: Factor the way to assign rescuer work
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest3 patches 1 replyIn review
- v44 patches 4 repliesSuperseded
- v37 patches 9 repliesSuperseded
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | workqueue: Make send_mayday() take a PWQ argument directlykernel/ | +3 | 0 replies | |
| 2/3 | workqueue: Process rescuer work items one-by-one using a cursorkernel/ | +59 | 0 replies | |
| 3/3 | workqueue: Process extra works in rescuer on memory pressurekernel/ | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH V5 0/3] workqueue: Factor the way to assign rescuer work
From: Lai Jiangshan <[email protected]>
Previously, the rescuer scanned for all matching work items at once and processed them within a single rescuer thread, which could cause one blocking work item to stall all others.
Make the rescuer process work items one-by-one instead of slurping all matches in a single pass using a cursor.
Changed from V4:
Control the limit and call send_mayday() in rescuer_thread(), which makes rescuer_thread() responsible for ensuring the cursor is not left behind.
v4: https://lore.kernel.org/lkml/[email protected]/
Lai Jiangshan (3):
workqueue: Refactor send_mayday() to take pwq directly
workqueue: Process rescuer work items one-by-one using a cursor
workqueue: Process extra works in rescuer on memory pressure
kernel/workqueue.c | 119 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 91 insertions(+), 28 deletions(-)
Signature · 1 line
2.19.1.6.gb485710b