lkml.org 
[lkml]   [2011]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 04/21] sched: Change the ttwu success details
From
Date
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.


\
 
 \ /
  Last update: 2011-04-13 21:13    [W:0.087 / U:7.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site