diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-08 18:33:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-08 18:33:30 +0000 |
commit | 80c131c81f81221c157d47db229a0c86ed7e5ad1 (patch) | |
tree | 2554f6fa6161488ca32491b3b3cc6e53ba04dd19 /sys/arch/sparc64/compile | |
parent | d61fc84d53fe7acdd5cbd7ff2490d07fb3a6e2b9 (diff) |
Make sure than cpu_hardclock() never sets a ``next interrupt value'' which has
already been hit by the running timer; this happens very often on oosiop-based
machines, due to these machines being among the slowest hppa, and oosiop
being interrupt greedy. Unfortunately, when this happened, one had to wait
for the timer to wrap, which would take up to 128 seconds on the 33MHz
machines.
Also, invoke hardclock() as many times as necessary if it turns out that
we had to delay the interrupt 1/hz seconds to avoid the aforementioned
wrap problem.
With help from kettenis@; ok kettenis@
Diffstat (limited to 'sys/arch/sparc64/compile')
0 files changed, 0 insertions, 0 deletions