Re: [PATCH] configure HAVE_UNSTABLE_SCHED_CLOCK for SGI_SN systems

From: Nick Piggin
Date: Tue Jan 06 2009 - 22:00:47 EST


On Wed, Jan 07, 2009 at 12:16:03AM +0100, Peter Zijlstra wrote:
> >
> > But doesn't scheduler tick advance the rq->clock? Why do the others
> > need to fiddle with a remote runqueue's clock? When that cpu starts
> > taking ticks again, it will update it's rq->clock field and start the
> > processes. I guess I am a lot underinformed about the new scheduler
> > design.
>
> We try to do better than tick based time accounting these days.

But if you contain the drift to within one tick, it shouldn't be much
problem to just truncate negative deltas I would have thought? The
time between events on different CPUs is pretty fuzzy at the ns level
anyway, I think ;)

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