Re: [PATCH 2/3] workqueues: Account unbound workqueue in a seperate list

2014-03-15 Thread Frederic Weisbecker
On Fri, Mar 14, 2014 at 11:17:35AM -0700, Kevin Hilman wrote: > Frederic Weisbecker writes: > > > The workqueues are all listed in a global list protected by a big mutex. > > And this big mutex is used in apply_workqueue_attrs() as well. > > > > Now as we plan to implement a directory to control

Re: [PATCH 2/3] workqueues: Account unbound workqueue in a seperate list

2014-03-14 Thread Kevin Hilman
Frederic Weisbecker writes: > The workqueues are all listed in a global list protected by a big mutex. > And this big mutex is used in apply_workqueue_attrs() as well. > > Now as we plan to implement a directory to control the cpumask of > all non-ABI unbound workqueues, we want to be able to ite

[PATCH 2/3] workqueues: Account unbound workqueue in a seperate list

2014-03-14 Thread Frederic Weisbecker
The workqueues are all listed in a global list protected by a big mutex. And this big mutex is used in apply_workqueue_attrs() as well. Now as we plan to implement a directory to control the cpumask of all non-ABI unbound workqueues, we want to be able to iterate over all unbound workqueues and ca