freebsd_amp_hwpstate/sys
David Greenman a91b87211d In accept1(), falloc() is called after the process has awoken, but prior
to removing the connection from the queue. The problem here is that
falloc() may block and this would allow another process to accept the
connection instead. If this happens to leave the queue empty, then the
system will panic with an "accept: nothing queued".

Also changed a wakeup() to a wakeup_one() to avoid the "thundering herd"
problem on new connections in Apache (or any other application that has
multiple processes blocked in accept() for the same socket).
1997-03-31 12:30:01 +00:00
..
alpha
amd64
compat/linux
compile
conf
ddb
dev
fs
geom
gnu
i386
isa
isofs/cd9660
kern
libkern
miscfs
modules
msdosfs
net
netatalk
netinet
netipx
netkey
netns
nfs
nfsclient
nfsserver
pc98
pccard
pci
powerpc/include
rpc
scsi
sys
tools
ufs
vm
Makefile