lkml.org 
[lkml]   [2014]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] workqueue: Add anon workqueue sysfs hierarchy
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 attrs and
> > switch to a new worker), frequent locking may have a visible impact.
> >
> > 2) Have a seperate worker for all ordered workqueues. But we may lose a bit of
> > serialization with other workqueues along the way.
>
> Ordered workqueues are always bound to the fallback default worker
> pool. Why not just adjust cpus_allowed of the worker pool?

Now that you tell me, that sounds obvious enough. I'll try something.

Thanks.

>
> Thanks.
>
> --
> tejun


\
 
 \ /
  Last update: 2014-03-22 23:21    [W:0.048 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site