Re: [GIT PULL] TSC sched_clock overflow workaround

From: Ingo Molnar
Date: Fri Nov 11 2011 - 02:08:10 EST



* John Stultz <johnstul@xxxxxxxxxx> wrote:

> Hey Thomas, Ingo,
> I thought Peter had sent this on, but apparently its not landed yet, so
> I wanted to make sure you got it.
>
> After ~208 days, the sched_clock multiplication overflows and
> causes some false positives in the softlockup watchdog. I don't
> think there are any actual panics going on, as an earlier related
> div by zero issue was already fixed. However, the false positives
> do continue to worry folks.
>
> We still need a proper fix, which will probably be in part making
> sched_clock do periodic accumulation, as well as possibly changing
> users of sched_clock (like the softlockup watchdog) use timekeeping
> timestamps rather then sched_clock.

I'd *much* rather see a real fix for this than an ugly workaround
that disables a very real speedup.

Thanks,

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