Re: 2.6.27.8 scheduler bug - threads not being scheduled for long periods

From: Dimitri Sivanich
Date: Mon Jan 05 2009 - 18:02:29 EST


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