Skip to content

workqueue: Cleanup affnity for detached/DISASSOCIATED workers

Lai Jiangshan lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3workqueue: Update the rescuer's affinity only when it is detachedkernel/workqueue.c+5 -50 replies
2/3workqueue: Let DISASSOCIATED workers follow unbound wq cpumask changeskernel/workqueue.c+13 -00 replies
3/3workqueue: Init rescuer's affinities as wq_unbound_cpumaskkernel/workqueue.c+5 -20 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/3] workqueue: Cleanup affnity for detached/DISASSOCIATED workers

From: Lai Jiangshan <[email protected]>

The commit d64f2fa064f8 ("kernel/workqueue: Let rescuers follow unbound wq cpumask changes") updates the affinity for unbound wq's rescuer.

Do extra cleanup to make it more consistent:

consistency with the workers:
* Not for attached rescuers which are managed by pool's affinity
* Also for PERCPU wq's detached rescuers
* Also for DISASSOCIATED pools' workers
* Also for newly created rescuers (starting from without attached)

consistency with the affinity:
* use wq_unbound_cpumask in all the cases.

Lai Jiangshan (3):
workqueue: Update the rescuer's affinity only when it is detached
workqueue: Let DISASSOCIATED workers follow unbound wq cpumask changes
workqueue: Init rescuer's affinities as wq_unbound_cpumask

Cc Juri Lelli <[email protected]>
Cc Waiman Long <[email protected]>
Cc Tejun Heo <[email protected]>,
Cc Lai Jiangshan <[email protected]>
 kernel/workqueue.c | 30 +++++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 7 deletions(-)
Signature · 1 line
2.19.1.6.gb485710b