On 06-Oct-00 Valentin Nechayev wrote:
> 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? ;|

Yes, I know.  The problem didn't occur as badly on SMP systems as the
clk ithread didn't suffer from as much latency in that case, but on UP
systems it could be quite bad.  I used to get it both during boot and
when doing things like starting up X.
 
> 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.;(

This is not done yet.  It is something that is on the todo list though
(to move SI_SUB_INIT_CLOCKS earlier, basically).

> /netch

-- 

John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to