Messages in this thread |  | | Subject | Re: [PATCH 04/21] sched: Change the ttwu success details | From | Peter Zijlstra <> | Date | Wed, 13 Apr 2011 21:11:09 +0200 |
| |
On Thu, 2011-04-14 at 03:39 +0900, Tejun Heo wrote: > One way to deal with it would be adding an extra worker flag to track > sleep state from workqueue side so that it can filter out spurious > wakeups; however, I think it would be far better to resolve this from > scheduler side. If the callback name is misleading, rename it to > wq_worker_sched_activated() or something and call it only when the > task gets activated.
Right, what I did is move the thing near activate_task() instead of relying on any passing on of that information.
|  |