Re: [PATCH 06/40] sched: add wakeup/sleep sched_notifiers and allow NULL notifier ops

Tejun Heo
2010-01-20T08:42:13Z

Hello,

On 01/19/2010 05:55 PM, Peter Zijlstra wrote:
> I think so, still doing a wakeup from a wakeup sounds like trouble in
> that it has the potential to a thundering herd, so I'd really rather
> you'd not do something like that.

cmwq is not gonna do that and if someone is gonna do that there of
course needs to be some sort of limiting.

I still feel a bit uneasy about calling out external callbacks before
scheduler internal state update is complete. If you still think
moving it right below activate_task() would be better, I'll move it
and modify the comment above try_to_wake_up_local(). Please let me
know what you think.

Thanks.

--
tejun