Skip to content

RFC workqueue: Introduce low-level unbound wq sysfs cpumask

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4workqueue: Create low-level unbound workqueues cpumaskkernel/workqueue.c+27 -26 replies
2/4workqueue: Split apply attrs code from its lockingkernel/workqueue.c+41 -323 replies
3/4workqueue: Allow modifying low level unbound workqueue cpumaskkernel/workqueue.c+61 -22 replies
4/4workqueue: Handle ordered workqueues on cpumask_unbounds changekernel/workqueue.c+67 -92 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/4] workqueue: Introduce low-level unbound wq sysfs cpumask

Hi,

So this new version takes another direction suggested by Tejun. Now we have a cpumask at the root of the workqueue directory to bound the affinity of all unbound workqueues.

It's an early release as more plumbing is required. Most notably:

* Drop last patch and integrate Lai's instead to support apply_workqueue_attrs() on ordered workqueues: https://lkml.org/lkml/2014/4/15/181

* Handle cpumask value expansion (in fact the per wq cpumask must be stored seperately than the effective cpumask to handle that correctly). I should take care of that in the next version.

But I prefer to post the current state now in case I'm wandering off.

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

Thanks,
Frederic
---

Frederic Weisbecker (4):
workqueue: Create low-level unbound workqueues cpumask
workqueue: Split apply attrs code from its locking
workqueue: Allow modifying low level unbound workqueue cpumask
workqueue: Handle ordered workqueues on cpumask_unbounds change

 kernel/workqueue.c | 219 ++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 185 insertions(+), 34 deletions(-)