Re: [tip:sched/urgent] Sched: fix skip_clock_update optimization

From: Peter Zijlstra
Date: Fri Dec 10 2010 - 11:18:11 EST


On Fri, 2010-12-10 at 10:33 +0800, Yong Zhang wrote:
>
> I don't see it on my side.
> Then just show some info(don't know if it's helpful):
> wake_up_idle_cpu() can set TIF_RESCHED locklessly.
>
> So does
> WARN_ON_ONCE(next != rq->idle && test_tsk_need_resched(next));
> help?

Its a good possibility, sadly I haven't been able to reproduce so I
cannot confirm. I'll keep my machine running, maybe it will trigger in a
few hours.
--
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/