freebsd-src/sys
Bruce Evans a3b33372b9 Maintain a new variable `timer0_overflow_threshold' so that microtime()
doesn't have to calculate it every call.

Rename `timer0_prescale' to `timer0_prescaler_count' and maintain it
correctly.  Previously we lost a few 8253 cycles for every "prescaled"
clock interrupt, and the lossage grows rapidly at 16 KHz.  Now we
only lose a few cycles for every standard clock interrupt.

Rename `*_divisor' to `*_max_count'.

Do the calculation of TIMER_DIV(rate) only once instead of 3 times each
time the rate is changed.

Don't allow preposterously large interrupt rates.  Bug fixes elsewhere
should allow the system to survive rates that saturate the system, however.

Clean up declarations.

Include <machine/clock.h> to check our own declarations.
1994-11-05 23:55:07 +00:00
..
alpha/include Added more SCO compat ioctl's. 1994-10-17 22:12:06 +00:00
amd64 Maintain a new variable `timer0_overflow_threshold' so that microtime() 1994-11-05 23:55:07 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf Eliminate USERCONFIG. This option is now standard. 1994-11-03 15:51:38 +00:00
ddb Print "(null)" instead of crashing for null strings. Null names are 1994-10-30 20:55:44 +00:00
dev Fix for 'pstat -t' works on vtys 1994-11-03 11:41:34 +00:00
fs From tim@cs.city.ac.uk (Tim Wilkinson): 1994-11-04 14:41:46 +00:00
gnu POSSIBLE BOGUS CODE found, (related to dos-partitions) in ufs_disksubr.c, 1994-10-08 06:57:29 +00:00
i386 Maintain a new variable `timer0_overflow_threshold' so that microtime() 1994-11-05 23:55:07 +00:00
isa Maintain a new variable `timer0_overflow_threshold' so that microtime() 1994-11-05 23:55:07 +00:00
isofs/cd9660 Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
kern From tim@cs.city.ac.uk (Tim Wilkinson): 1994-11-04 14:41:46 +00:00
libkern I'm going to nuke strtol() for now. Now I need strncmp() and rather 1994-10-26 11:14:21 +00:00
miscfs From tim@cs.city.ac.uk (Tim Wilkinson): 1994-11-04 14:41:46 +00:00
modules Again, this is not a filesystem so don't compile it as if it were. 1994-10-27 23:39:19 +00:00
msdosfs Fix from John Hay to avoid kernel panics when ap->a_eofflag is NULL. 1994-11-01 21:14:45 +00:00
net Collapse two fields so that we have space for another 32 flags. 1994-11-03 01:04:32 +00:00
netccitt Made idempotent 1994-08-21 05:44:12 +00:00
netinet Fix off-by-one error reported to NetBSD by Karl Fox in 1994-11-03 21:04:21 +00:00
netiso Made idempotent -- made some of them more consistent with rest of tree. 1994-08-21 06:14:33 +00:00
netns Made idempotent. 1994-08-21 06:22:12 +00:00
nfs Forward-declare a few structures to avoid warning messages. 1994-11-02 00:11:00 +00:00
nfsclient Forward-declare a few structures to avoid warning messages. 1994-11-02 00:11:00 +00:00
nfsserver Forward-declare a few structures to avoid warning messages. 1994-11-02 00:11:00 +00:00
pci Submitted by: 1994-11-02 23:47:14 +00:00
powerpc/include Added $Id$ 1994-08-02 07:55:43 +00:00
rpc Use the header files that are compatible with the code just moved over 1994-08-07 18:41:02 +00:00
scsi |Both, the wd and the sd driver do not reject invalid request of odd 1994-11-03 18:20:15 +00:00
sys Backed out mbuf performance improvement. mbufs are allocated with various 1994-11-04 00:28:38 +00:00
tools Added $Id$ 1994-08-02 07:55:43 +00:00
ufs From: fredriks@mcs.com (Lars Fredriksen) 1994-10-28 12:42:05 +00:00
vm Improved I/O error reporting. 1994-10-25 07:06:20 +00:00
Makefile Added ${MACHINE}/boot to build bootblocks. 1994-08-25 13:54:28 +00:00