freebsd-dev/sys
Bruce Evans e2f03b0df0 Speed up ttnread() in the !(ICANON | ISIG) case by copying to user space
through a temporary buffer instead of one character at a time.  The old
method takes about 6 usec/char on a 486DX2/66.  This is larger than than
the combined interrupt and PIO overhead for a 16550!

This change was first implemented in 1.1.5.  It was rewritten for 2.1.
The clist access functions allow a simpler implementation at some cost
in correctness and speed.  There needs to be an ungetc() function to
recover from EFAULT, and it wastes time to copy through a temporary
buffer.

Don't snoop on single characters that weren't read due to EFAULT.
Rewrite a snoop comment in my approximation to English.

Undo bogus exportation of ttnread().
1995-04-15 21:04:58 +00:00
..
alpha/include
amd64 Add scsi target. Add "after config" call to autoconf so that scsi 1995-04-14 15:13:26 +00:00
compile
conf Make DISTNAME and RELEASE the same for now. It makes more sense. 1995-04-15 06:00:11 +00:00
ddb Fixed the formatting breakage I added in the previous commit. 1995-04-04 01:35:33 +00:00
dev Forgot two things in yesterday's massive devconf update: 1995-04-13 15:03:29 +00:00
fs For P_SUGID processes, we must also change ownership of the mem file 1995-04-15 03:20:31 +00:00
gnu More code optimizations. Use a slightly different approach to decide 1995-04-09 06:40:16 +00:00
i386 Added kzipboot 1995-04-15 08:24:33 +00:00
isa Forgot two things in yesterday's massive devconf update: 1995-04-13 15:03:29 +00:00
isofs/cd9660 Readdir on a CDrom would return bogus "d_type" values, potentially confusing 1995-03-28 07:46:38 +00:00
kern Speed up ttnread() in the !(ICANON | ISIG) case by copying to user space 1995-04-15 21:04:58 +00:00
libkern Do not install libkern into /usr/lib, blank target install: added. 1995-03-23 07:02:14 +00:00
miscfs For P_SUGID processes, we must also change ownership of the mem file 1995-04-15 03:20:31 +00:00
modules Put vnode_if.h and vnode_if.c into CLEANFILES that are automatically 1995-04-15 17:36:53 +00:00
msdosfs Fix link sys call 1995-04-11 18:32:17 +00:00
net Tunnel driver is nmow capable of installing its own cdevsw[] entry, 1995-04-10 20:35:45 +00:00
netccitt Removed redundant newlines that were in some panic strings. 1995-03-19 14:29:26 +00:00
netinet Fixed bug I introduced when changing PCB list to use 4.4BSD style queue 1995-04-12 06:49:56 +00:00
netiso Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
netns Removed redundant newlines that were in some panic strings. 1995-03-19 14:29:26 +00:00
nfs Deleted bogus DIAGNOSTIC "nfs_fsync: dirty" message. This can and does 1995-03-23 09:43:40 +00:00
nfsclient Deleted bogus DIAGNOSTIC "nfs_fsync: dirty" message. This can and does 1995-03-23 09:43:40 +00:00
nfsserver Removed unnecessary call to vnode_pager_uncache(). We automatically clear 1995-03-19 12:08:03 +00:00
pci Various changes from Matt Thomas to improve media selection and fix 1995-04-13 04:46:40 +00:00
powerpc/include
rpc
scsi Added "scsi target" device that can act as a target for scsi transfers 1995-04-14 15:10:44 +00:00
sys Define IBUFSIZ as 384. This goes with speeding up ttnread(). 1995-04-15 20:59:28 +00:00
tools
ufs Handle the "syncing VCHR vnode hang" problem a little differently; just 1995-04-11 04:23:47 +00:00
vm Changes from John Dyson and myself: 1995-04-09 06:03:56 +00:00
Makefile