Re: [PATCH 4/4] workqueue: Allow modifying low level unbound workqueue cpumask

2015-03-13 Thread Lai Jiangshan
On 03/12/2015 01:00 PM, Lai Jiangshan wrote: > Allow to modify the low-level unbound workqueues cpumask through > sysfs. This is performed by traversing the entire workqueue list > and calling wq_unbound_install_ctx_prepare() on the unbound workqueues > with the low level mask passed in. Only after

Re: [PATCH 4/4] workqueue: Allow modifying low level unbound workqueue cpumask

2015-03-12 Thread Lai Jiangshan
On 03/13/2015 01:42 AM, Christoph Lameter wrote: > On Thu, 12 Mar 2015, Lai Jiangshan wrote: > >> The per-nodes' pwqs are mandatorily controlled by the low level cpumask, >> while >> the default pwq ignores the low level cpumask when (and ONLY when) the >> cpumask set >> by the user doesn't over

Re: [PATCH 4/4] workqueue: Allow modifying low level unbound workqueue cpumask

2015-03-12 Thread Christoph Lameter
On Thu, 12 Mar 2015, Lai Jiangshan wrote: > The per-nodes' pwqs are mandatorily controlled by the low level cpumask, while > the default pwq ignores the low level cpumask when (and ONLY when) the > cpumask set > by the user doesn't overlap with the low level cpumask. In this case, we can't > appl

[PATCH 4/4] workqueue: Allow modifying low level unbound workqueue cpumask

2015-03-11 Thread Lai Jiangshan
Allow to modify the low-level unbound workqueues cpumask through sysfs. This is performed by traversing the entire workqueue list and calling wq_unbound_install_ctx_prepare() on the unbound workqueues with the low level mask passed in. Only after all the preparation are done, we commit them all tog