lkml.org 
[lkml]   [2009]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: linux-next: workqueues tree build failure
From
Date
On Thu, 2009-11-26 at 13:44 +0200, Peter Ujfalusi wrote:
> On Thursday 26 November 2009 12:18:59 ext Mark Brown wrote:
> > On Thu, Nov 26, 2009 at 11:31:15AM +0200, Peter Ujfalusi wrote:
> > > For a quick fix, I can convert the tlv320dac33 driver to use this, and
> > > revisit later, if it does not fulfill the timing requirements for the HW.
> >
> > If there are problems then creating a dedicated thread you can wake
> > would probably do the job.
>
> For now I'm going to change the create_rt_workqueue to
> create_singlethread_workqueue, that is available at the wq.git of kernel.org.
>
> If it is not sufficient, than I might use dedicated thread, which I woke up, but
> I would like to keep that as a backup plan, since it needs more work ;)

Peter,

I would suspect using a single-threaded workqueue is better than a
wake_up() of another thread. IIRC, after queuing work, the workqueue's
single thread may run almost immediately on the same processor. With
waking up sleeping threads, I've run into scheduler delays around 10 ms
on a dual core x86_64 desktop system.

Regards,
Andy

> I'll send the patch in a few minutes.




\
 
 \ /
  Last update: 2009-11-26 13:53    [W:0.113 / U:1.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site