Date: Thu, 30 Aug 2001 14:30:04 -0700 (PDT) From: Martin Blapp <mb@imp.ch> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/30135: Time drifting on STABLE SMP when calling gettimeofday Message-ID: <200108302130.f7ULU4m56090@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR kern/30135; it has been noted by GNATS.
From: Martin Blapp <mb@imp.ch>
To: <freebsd-gnats-submit@FreeBSD.org>
Cc:
Subject: Re: kern/30135: Time drifting on STABLE SMP when calling gettimeofday
Date: Thu, 30 Aug 2001 17:34:58 +0200 (CEST)
Thomas Moestl and I have found that the following workaround
makes the clock speedup disappearing:
--- sys/i386/isa/clock.c Thu Aug 30 17:01:31 2001
+++ sys/i386/isa/clock.c.new Thu Aug 30 17:01:29 2001
@@ -1203,7 +1203,7 @@
high = inb(TIMER_CNTR0);
count = timer0_max_count - ((high << 8) | low);
if (count < i8254_lastcount ||
- (!i8254_ticked && (clkintr_pending ||
+ (!i8254_ticked && (/*clkintr_pending || */
((count < 20 || (!(ef & PSL_I) && count < timer0_max_count /
Maybe someone else know more ?
Martin
Martin Blapp, mb@imp.ch
------------------------------------------------------------------
Improware AG, UNIX solution and service provider
Zurlindenstrasse 29, 4133 Pratteln, Switzerland
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP Fingerprint: 57E 7CCD 2769 E7AC C5FA DF2C 19C6 DCD1 1B3A EC9C
------------------------------------------------------------------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108302130.f7ULU4m56090>
