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

From: Tejun Heo
Date: Wed Jan 20 2010 - 03:42:17 EST


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
--
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/