Re: [patch] sched: add the other missing clock update tomigrate_task()

From: Mike Galbraith
Date: Sun Nov 22 2009 - 13:15:01 EST


On Sun, 2009-11-22 at 17:58 +0100, Mike Galbraith wrote:
> On Sun, 2009-11-22 at 14:16 +0100, Peter Zijlstra wrote:
>
> > We should make double_rq_lock() and double_lock_balance() behave
> > equivalent wrt update_rq_clock().
> >
> > Current, depending on CONFIG_PREEMPT, double_lock_balance() already
> > updates both rq clocks.
>
> Hm, right. Better plan.

Oops, nope. Consistency is still a good plan, however, that update is
still needed, because it's the case where we're _not_ going to use the
migration thread.

-Mike

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