Re: [RFC][PATCH 03/10] workqueue: It is likely thatWORKER_NOT_RUNNING is true

From: Steven Rostedt
Date: Tue Dec 07 2010 - 08:07:28 EST


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.

Thanks,

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/