[lkml]   [2010]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC][PATCH 03/10] workqueue: It is likely that WORKER_NOT_RUNNING is true
On Tue, 2010-12-07 at 10:49 +0100, Tejun Heo wrote:

> > The wq_worker_sleeping() is called from schedule when a worker thread
> > is putting itself to sleep. Which happens most of the time outside
> > of that [ do work stuff ].
> Yeah, I was lost thinking about the busiest case where workers are
> busy processing works consecutively. Usually workers are of course
> switching in and out of idle state all the time.
> How about just dropping likely/unlikely?

I have no problem in dropping them too. I'll do that in my next version.


-- Steve

 \ /
  Last update: 2010-12-07 14:09    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean