Re: sched: only update rq->clock while holding rq->lock

From: Peter Zijlstra
Date: Thu Oct 16 2008 - 04:30:01 EST


On Thu, 2008-10-16 at 08:02 +0530, Srivatsa Vaddagiri wrote:
> On Wed, Oct 15, 2008 at 08:37:23PM +0200, Peter Zijlstra wrote:
> > Vatsa noticed rq->clock going funny and tracked it down to an update_rq_clock()
> > outside a rq->lock section.
>
> For the records, actually Brian King and David Kleikamp noticed this!

Thanks Brian and Shaggy!


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