Re: [PATCH 3/3] workqueue: Add anon workqueue sysfs hierarchy

2014-03-22 Thread Frederic Weisbecker
On Sat, Mar 22, 2014 at 02:55:51PM -0400, Tejun Heo wrote: > On Sat, Mar 22, 2014 at 06:01:18PM +0100, Frederic Weisbecker wrote: > > 1) Call a per workqueue mutex when a work execute on an ordered workqueue. > > Although > > contention should be very rare (only while we replace the workqueue at

Re: [PATCH 3/3] workqueue: Add anon workqueue sysfs hierarchy

2014-03-22 Thread Tejun Heo
On Sat, Mar 22, 2014 at 06:01:18PM +0100, Frederic Weisbecker wrote: > 1) Call a per workqueue mutex when a work execute on an ordered workqueue. > Although > contention should be very rare (only while we replace the workqueue attrs > and > switch to a new worker), frequent locking may have a

Re: [PATCH 3/3] workqueue: Add anon workqueue sysfs hierarchy

2014-03-22 Thread Frederic Weisbecker
On Fri, Mar 14, 2014 at 12:08:39PM -0700, Kevin Hilman wrote: > Frederic Weisbecker writes: > > > We call "anon workqueues" the set of unbound workqueues that don't > > carry the WQ_SYSFS flag. > > > > They are a problem nowaday because people who work on CPU isolation > > (HPC, Real time, etc...

Re: [PATCH 3/3] workqueue: Add anon workqueue sysfs hierarchy

2014-03-17 Thread Frederic Weisbecker
On Fri, Mar 14, 2014 at 12:08:39PM -0700, Kevin Hilman wrote: > Frederic Weisbecker writes: > > > We call "anon workqueues" the set of unbound workqueues that don't > > carry the WQ_SYSFS flag. > > > > They are a problem nowaday because people who work on CPU isolation > > (HPC, Real time, etc...

Re: [PATCH 3/3] workqueue: Add anon workqueue sysfs hierarchy

2014-03-14 Thread Kevin Hilman
Frederic Weisbecker writes: > We call "anon workqueues" the set of unbound workqueues that don't > carry the WQ_SYSFS flag. > > They are a problem nowaday because people who work on CPU isolation > (HPC, Real time, etc...) want to be able to migrate all the unbound > workqueues away to a single C

[PATCH 3/3] workqueue: Add anon workqueue sysfs hierarchy

2014-03-14 Thread Frederic Weisbecker
We call "anon workqueues" the set of unbound workqueues that don't carry the WQ_SYSFS flag. They are a problem nowaday because people who work on CPU isolation (HPC, Real time, etc...) want to be able to migrate all the unbound workqueues away to a single CPU. This control is possible through sysf