mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] TSC sched_clock overflow workaround
@ 2011-11-11  4:53 John Stultz
  2011-11-11  7:06 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: John Stultz @ 2011-11-11  4:53 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar; +Cc: lkml, Peter Zijlstra

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.

thanks
-john


Peter's workaround is available in the git repository at:
  git://git.linaro.org/people/jstultz/linux.git fortglx/3.2/tip/sched/clock

Peter Zijlstra (1):
      x86, intel: Don't mark sched_clock() as stable

 arch/x86/kernel/cpu/intel.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-11  7:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-11  4:53 [GIT PULL] TSC sched_clock overflow workaround John Stultz
2011-11-11  7:06 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome