[PATCH 4/4] workqueue: Include ordered workqueues in anon workqueue sysfs interface

2014-03-27 Thread Frederic Weisbecker
Changing the cpu affinity of workqueues through the sysfs interface is done with apply_workqueue_attrs() by replacing the old pwqs of a workqueue with new ones tied to worker pools that are affine to the new cpumask. We can't do that with ordered workqueues however because the serialization of the

Re: [PATCH 4/4] workqueue: Include ordered workqueues in anon workqueue sysfs interface

2014-03-31 Thread Lai Jiangshan
On 03/28/2014 01:21 AM, Frederic Weisbecker wrote: > Changing the cpu affinity of workqueues through the sysfs interface > is done with apply_workqueue_attrs() by replacing the old pwqs > of a workqueue with new ones tied to worker pools that are affine to the > new cpumask. > > We can't do that w

Re: [PATCH 4/4] workqueue: Include ordered workqueues in anon workqueue sysfs interface

2014-03-31 Thread Lai Jiangshan
On 03/31/2014 08:50 PM, Lai Jiangshan wrote: > On 03/28/2014 01:21 AM, Frederic Weisbecker wrote: >> Changing the cpu affinity of workqueues through the sysfs interface >> is done with apply_workqueue_attrs() by replacing the old pwqs >> of a workqueue with new ones tied to worker pools that are af

Re: [PATCH 4/4] workqueue: Include ordered workqueues in anon workqueue sysfs interface

2014-04-03 Thread Frederic Weisbecker
On Mon, Mar 31, 2014 at 09:15:26PM +0800, Lai Jiangshan wrote: > On 03/31/2014 08:50 PM, Lai Jiangshan wrote: > > Sorry, I'm wrong. > Tejun had told there is only one default worker pool for ordered workqueues. > > It is true. But this pool may share with other non-ordered workqueues which > mayb