Re: 2.6.27.8 scheduler bug - threads not being scheduled for longperiods

From: Peter Zijlstra
Date: Tue Jan 06 2009 - 02:36:54 EST


On Mon, 2009-01-05 at 17:02 -0600, Dimitri Sivanich wrote:
> Peter,
>
> On Mon, Jan 05, 2009 at 04:36:21PM -0600, Dimitri Sivanich wrote:
> > And sure enough, the rq->clock is sometimes going backwards.
> >
> > The comment for sched_clock() in arch/ia64/kernel/head.S:
> > * Return a CPU-local timestamp in nano-seconds. This timestamp is
> > * NOT synchronized across CPUs its return value must never be
> > * compared against the values returned on another CPU. The usage in
> > * kernel/sched.c ensures that.
> >
> > We will try this with CONFIG_HAVE_UNSTABLE_SCHED_CLOCKS.
> >
>
> The testcase does indeed run with CONFIG_HAVE_UNSTABLE_SCHED_CLOCKS configured.

Ok, glad it worked out, thanks!
--
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/