Skip to content

workqueue: Share the same PWQ for the CPUs of a pod and distribute max_active across pods

Lai Jiangshan lkml oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7workqueue: Reuse the default PWQ as much as possiblekernel/workqueue.c+9 -70 replies
2/7workqueue: Share the same PWQ for the CPUs of a podkernel/workqueue.c+39 -391 reply
3/7workqueue: Add pwq_calculate_max_active()kernel/workqueue.c+27 -170 replies
4/7workqueue: Wrap common code into wq_adjust_pwqs_max_active()kernel/workqueue.c+15 -220 replies
5/7workqueue: Addjust pwq's max_active when CPU online/offinekernel/workqueue.c+14 -40 replies
6/7workqueue: Implement system-wide max_active enforcement for unbound workqueuesinclude/linux/workqueue.h kernel/workqueue.c+55 -71 reply
7/7workqueue: Rename wq->saved_max_active to wq->max_activekernel/workqueue.c+10 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] workqueue: Share the same PWQ for the CPUs of a pod and distribute max_active across pods

From: Lai Jiangshan <[email protected]>

A different approach to fix the misbehavior can easily be exposed as reported in
http://lkml.kernel.org/r/dbu6wiwu3sdhmhikb2w6lns7b27gbobfavhjj57kwi2quafgwl@htjcc5oikcr3.

Lai Jiangshan (6):
workqueue: Reuse the default PWQ as much as possible
workqueue: Share the same PWQ for the CPUs of a pod
workqueue: Add pwq_calculate_max_active()
workqueue: Wrap common code into wq_adjust_pwqs_max_active()
workqueue: Addjust pwq's max_active when CPU online/offine
workqueue: Rename wq->saved_max_active to wq->max_active

Tejun Heo (1):
workqueue: Implement system-wide max_active enforcement for unbound
workqueues

 include/linux/workqueue.h |  34 +++++-
 kernel/workqueue.c        | 217 ++++++++++++++++++++++----------------
 2 files changed, 157 insertions(+), 94 deletions(-)
Signature · 1 line
2.19.1.6.gb485710b