Skip to content

RFC workqueue: Introduce low-level unbound wq sysfs cpumask v3

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5workqueue: Allow changing attributions of ordered workqueueskernel/workqueue.c+42 -278 replies
2/5workqueue: Reorder sysfs codekernel/workqueue.c+313 -3130 replies
3/5workqueue: Create low-level unbound workqueues cpumaskkernel/workqueue.c+27 -212 replies
4/5workqueue: Split apply attrs code from its lockingkernel/workqueue.c+44 -330 replies
5/5workqueue: Allow modifying low level unbound workqueue cpumaskkernel/workqueue.c+78 -34 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/5] workqueue: Introduce low-level unbound wq sysfs cpumask v3

So in this version I actually save the cpumask belonging to wq (before it's intersected against the low level cpumask) in its unbounds attrs.

But the attrs passed to pwq and worker pools have the low level cpumask computed against the wq cpumask.

It makes it easier that way as the wq cpumask itself remains untouched. It's a user setting so it must stay intact. OTOH the cpumask of pwqs and worker pools only belong to the implementation so it's the right place to store the effective cpumask.

Also wq_update_unbound_numa() is fixed, and cpu_possible_mask() is restored as a base. Thanks to Lai!

Thanks,
Frederic

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
core/workqueue-v5
---

Frederic Weisbecker (4):
workqueue: Reorder sysfs code
workqueue: Create low-level unbound workqueues cpumask
workqueue: Split apply attrs code from its locking
workqueue: Allow modifying low level unbound workqueue cpumask

Lai Jiangshan (1):
workqueue: Allow changing attributions of ordered workqueues

 kernel/workqueue.c | 1674 ++++++++++++++++++++++++++++------------------------
 1 file changed, 900 insertions(+), 774 deletions(-)