Messages in this thread | | | From | Lai Jiangshan <> | Subject | [PATCH 0/3 V8] workqueue: Introduce low-level unbound wq sysfs cpumask | Date | Mon, 27 Apr 2015 17:58:37 +0800 |
| |
The patchset is based on 4.1-rc1. And only the [PATCH 3/3] is changed:
1) Rename again. wq_unbound_global_cpumask -> wq_unbound_cpumask workqueue_set_unbound_global_cpumask() -> workqueue_set_unbound_cpumask()
2) the code sets the wq_unbound_cpumask at first before applying it to all the wqs. It simplifies the code where it is applied to the wqs.
3) When the user configured cpumask doesn't overlap with the low level cpumask, the V7 patchset forced the per-node pwqs use the default pwq and caused some complications. This patch just uses the default pwq's attrs to calculate the per-nodes' attrs and avoid introducing any branch or special handling.
Frederic Weisbecker (1): workqueue: Create low-level unbound workqueues cpumask
Lai Jiangshan (2): workqueue: split apply_workqueue_attrs() into 3 stages workqueue: Allow modifying low level unbound workqueue cpumask
Cc: Christoph Lameter <cl@linux.com> Cc: Kevin Hilman <khilman@linaro.org> Cc: Lai Jiangshan <laijs@cn.fujitsu.com> Cc: Mike Galbraith <bitbucket@online.de> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Tejun Heo <tj@kernel.org> Cc: Viresh Kumar <viresh.kumar@linaro.org> Cc: Frederic Weisbecker <fweisbec@gmail.com>
include/linux/workqueue.h | 1 + kernel/workqueue.c | 343 ++++++++++++++++++++++++++++++++++------------ 2 files changed, 253 insertions(+), 91 deletions(-)
-- 2.1.0
| |