[PATCH 0/3 V8] workqueue: Introduce low-level unbound wq sysfs cpumask

From: Lai Jiangshan
Date: Mon Apr 27 2015 - 05:55:50 EST


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@xxxxxxxxx>
Cc: Kevin Hilman <khilman@xxxxxxxxxx>
Cc: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>
Cc: Mike Galbraith <bitbucket@xxxxxxxxx>
Cc: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
Cc: Tejun Heo <tj@xxxxxxxxxx>
Cc: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>

include/linux/workqueue.h | 1 +
kernel/workqueue.c | 343 ++++++++++++++++++++++++++++++++++------------
2 files changed, 253 insertions(+), 91 deletions(-)

--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/