lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 10 Nov 2011 20:53:12 -0800
From:	John Stultz <johnstul@...ibm.com>
To:	Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>
Cc:	lkml <linux-kernel@...r.kernel.org>,
	Peter Zijlstra <peterz@...radead.org>
Subject: [GIT PULL] TSC sched_clock overflow workaround

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(-)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ