freebsd-dev/sys
Bruce Evans d7515ab5cf Split TS_ASLEEP (sleep on output [below low water])into TS_SO_OLOWAT (sleep
on output below low water) and TS_SO_OCOMPLETE (sleep on output complete).
Most of the support for this has already been committed.  Drivers should
call ttwwakeup() to handle wakeups whenever output is below low water
(and some output event causes this condition to be checked) or TS_BUSY is
cleared.

tty.c:
Fix the livelock in ttywait() properly by sleeping on output complete, not
on output below low water.

Use ttwwakeup() instead of separate select and output wakeups for all
wakeups of writers.

Add wakeups of writers for output flushes and carrier/clocal transitions.

Don't go to sleep in ttycheckoutq() if ttstart() reduces the queue to below
low water.

Use the timeout built into tsleep() in ttycheckoutq().

Optimize the select wakeup in ttwwakeup().  It seems reasonable to know
too much about the internals of tp->t_wsel now that the knowledge is
localised in tty.c.
1995-07-30 12:39:42 +00:00
..
alpha First incarnation of our Linux emulator or rather compatibility code. 1995-06-25 17:32:43 +00:00
amd64 Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
compat/linux First incarnation of our Linux emulator or rather compatibility code. 1995-06-25 17:32:43 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf Add new ``SNAPDATE=""'' for use in snapshot building. 1995-07-29 18:42:29 +00:00
ddb Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
dev Initialize "name" to quiet compiler. 1995-07-29 18:21:48 +00:00
fs Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
gnu Obtained from: partly from ancient patches of mine via 1.1.5 1995-07-22 16:45:22 +00:00
i386 Fix enough of the recently introduced brokenness for LINT to compile. 1995-07-29 14:20:54 +00:00
isa Don't let IXOFF or ECHONL stop the setting of TS_CAN_BYPASS_L_RINT. IXOFF 1995-07-29 08:33:13 +00:00
isofs/cd9660 Change extern inline' to static inline' so that several functions 1995-07-25 21:50:50 +00:00
kern Split TS_ASLEEP (sleep on output [below low water])into TS_SO_OLOWAT (sleep 1995-07-30 12:39:42 +00:00
libkern Rearrange the inner loop of scanc() to get better code on i*86's 1995-07-11 18:50:47 +00:00
miscfs Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
modules First incarnation of our Linux emulator or rather compatibility code. 1995-06-25 17:32:43 +00:00
msdosfs Fixed VOP_LINK argument order botch. 1995-06-28 07:06:55 +00:00
net Obtained from: partly from ancient patches by ache and me via 1.1.5 1995-07-29 13:40:13 +00:00
netccitt Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
netinet Add connection drop capability for persist timeouts. 1995-07-29 18:48:44 +00:00
netiso Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
netns Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
nfs Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
nfsclient Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
nfsserver Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
pci Initialize "name" to quiet compiler. 1995-07-29 18:21:48 +00:00
powerpc/include Don't define CLK_TCK here. 1995-02-03 21:49:18 +00:00
rpc Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
scsi Change memcmp() to bcmp(). memcmp() isn't declared or implemented 1995-07-25 22:09:06 +00:00
sys Split TS_ASLEEP (sleep on output [below low water])into TS_SO_OLOWAT (sleep 1995-07-30 12:39:42 +00:00
tools The generated VCALL always uses the first vp which in the case of /link/ 1995-07-07 13:41:28 +00:00
ufs Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
vm Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
Makefile Added ${MACHINE}/boot to build bootblocks. 1994-08-25 13:54:28 +00:00