RFC workqueue: Introduce low-level unbound wq sysfs cpumask
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | workqueue: Create low-level unbound workqueues cpumaskkernel/ | +27 | 6 replies | |
| 2/4 | workqueue: Split apply attrs code from its lockingkernel/ | +41 | 3 replies | |
| 3/4 | workqueue: Allow modifying low level unbound workqueue cpumaskkernel/ | +61 | 2 replies | |
| 4/4 | workqueue: Handle ordered workqueues on cpumask_unbounds changekernel/ | +67 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)