Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Oct 2000 01:17:03 +0300 (EEST)
From:      netch@carrier.kiev.ua (Valentin Nechayev)
To:        John Baldwin <jhb@FreeBSD.ORG>, freebsd-current@FreeBSD.ORG
Subject:   Re: microuptime() went backwards
Message-ID:  <200010062217.BGO31522@burka.carrier.kiev.ua>

next in thread | raw e-mail | index | archive | help
At Fri, 6 Oct 2000 22:00:23 +0000 (UTC), jhb wrote:

JB> The problem was that the interrupt threads for the clk interrupt introduced
JB> enough latency that occasionally (mostly during a heavy load of interrupts)
JB> tc_windup() wasn't called soon enough to update the timecounter.  Making

On my system _each_ boot causes hundreds of these messages.
And as described, long offsets without updating are caused by some
code in drivers, i.e. DELAY(1000000) in isa/fd.c. Is it nesessary to call
tc_windup() between iterations in isa_configure? ;|

JB> clock interrupts not be threaded fixes this problem.

Oh, well, I understand now that scheduling is nesessary to be run early
because interrupts are implemented as kernel threads even when kernel
is in phase of hardware detection.;(


/netch


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010062217.BGO31522>