freebsd-nq/sys
Bruce Evans b50641ef9c Fixed glitches (jumps) of about 1/HZ seconds for the i8254 timecounter.
The old version only worked right when the time was read strictly
more often than every 1/HZ seconds, but we only guarantee reading
it every (1/HZ + epsilon) seconds.  Part of rev.1.126-1.127 attempted
to fix this but didn't succeed.  Detect counter rollover using the
heuristic from the old version of microtime() with additional
complications for supporting calls from fast interrupt handlers.
This works provided i8254 interrupts are not delayed by more than
1/(2*HZ) seconds.

This needs more comments, and cleanups for the SMP case, and more
testing of the SMP case before it is merged into RELENG_3.

Tested by:		jhay
1999-05-28 14:08:59 +00:00
..
alpha pmap_object_init_pt: 1999-05-28 05:38:56 +00:00
amd64 Fixed glitches (jumps) of about 1/HZ seconds for the i8254 timecounter. 1999-05-28 14:08:59 +00:00
boot Always output a linefeed when we've decided whether to boot 1999-05-28 08:01:52 +00:00
cam Add TDC 3800 to quirk list for fixed mode device. 1999-05-25 23:10:54 +00:00
coda Divorce "dev_t" from the "major|minor" bitmap, which is now called 1999-05-11 19:55:07 +00:00
compat Divorce "dev_t" from the "major|minor" bitmap, which is now called 1999-05-11 19:55:07 +00:00
compile
conf Add new Bt848/Bt878 driver options. 1999-05-28 10:27:22 +00:00
contrib Cosmetic changes to make it compile without errors in gcc -Wall 1999-05-22 04:43:04 +00:00
ddb Removed an especially bogus cast. 1999-05-13 13:01:46 +00:00
dev Don't call disable_intr() when interrupts are already disabled, since 1999-05-28 13:23:21 +00:00
fs Don't call calcru() on a swapped-out process. calcru() access p_stats, which 1999-05-22 20:10:31 +00:00
geom Divorce "dev_t" from the "major|minor" bitmap, which is now called 1999-05-11 19:55:07 +00:00
gnu Fixed printing of a dev_t in a panic message. Fixed the function name 1999-05-13 06:27:51 +00:00
i4b upgrade isdn4bsd from version 0.71 to the just released version 0.81 1999-05-20 10:14:57 +00:00
i386 Fixed glitches (jumps) of about 1/HZ seconds for the i8254 timecounter. 1999-05-28 14:08:59 +00:00
isa Fixed glitches (jumps) of about 1/HZ seconds for the i8254 timecounter. 1999-05-28 14:08:59 +00:00
isofs/cd9660 Divorce "dev_t" from the "major|minor" bitmap, which is now called 1999-05-11 19:55:07 +00:00
kern * Change device_add_child_after() to device_add_child_ordered() which is 1999-05-28 09:25:16 +00:00
libkern Nuke ucmpdi2.c from i386/libkern to serve as a reminder that switch 1999-05-14 17:39:54 +00:00
miscfs Don't call calcru() on a swapped-out process. calcru() access p_stats, which 1999-05-22 20:10:31 +00:00
modules Reenable vinum build. 1999-05-15 06:13:27 +00:00
msdosfs Divorce "dev_t" from the "major|minor" bitmap, which is now called 1999-05-11 19:55:07 +00:00
net In tunclose(): 1999-05-27 13:18:28 +00:00
netatalk Change suser_xxx() to suser() where it applies. 1999-04-27 12:21:16 +00:00
netatm Allow configuration of up to 256 network interfaces per physical interface - 1999-05-10 23:02:29 +00:00
netinet Added net.inet.tcp.path_mtu_discovery variable which when set to 0 1999-05-27 12:24:21 +00:00
netipx Suser() simplification: 1999-04-27 11:18:52 +00:00
netkey #ifdef out unused function key_freetables. 1999-01-12 12:38:31 +00:00
netnatm Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
netns
nfs Divorce "dev_t" from the "major|minor" bitmap, which is now called 1999-05-11 19:55:07 +00:00
nfsclient Divorce "dev_t" from the "major|minor" bitmap, which is now called 1999-05-11 19:55:07 +00:00
nfsserver Divorce "dev_t" from the "major|minor" bitmap, which is now called 1999-05-11 19:55:07 +00:00
ntfs Driver is now ported to NetBSD. 1999-05-12 09:43:09 +00:00
pc98 Merge with sys/i386/isa/wd.c revision 1.192 and 1.193. 1999-05-25 10:41:14 +00:00
pccard Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add: 1999-05-09 17:07:30 +00:00
pci Print some diagnostic messages for the PCI-ISA bridge, 1999-05-27 12:26:50 +00:00
posix4 Well folks, this is it - The second stage of the removal for build support 1999-04-17 08:36:07 +00:00
powerpc Fixed style bugs in previous commit. 1999-05-22 08:36:55 +00:00
rpc
svr4 Ack! I deleted "struct", not "const".. Oh boy... 1999-05-10 12:38:41 +00:00
sys * Change device_add_child_after() to device_add_child_ordered() which is 1999-05-28 09:25:16 +00:00
tools Declare static __inline functions as __inline in their forward 1999-02-28 11:30:00 +00:00
ufs - Back out Luoqi's cdevsw stuff. It panics on my system and is not required. 1999-05-24 00:27:12 +00:00
vm Avoid the creation of unnecessary shadow objects. 1999-05-28 03:39:44 +00:00
Makefile Use ${.CURDIR} in `exists()' constructs. 1999-04-21 11:09:40 +00:00