Paul Traina 4195b4af58 If the incomplete listen queue for a given socket is full,
drop the oldest entry in the queue.

There was a fair bit of discussion as to whether or not the
proper action is to drop a random entry in the queue.  It's
my conclusion that a random drop is better than a head drop,
however profiling this section of code (done by John Capo)
shows that a head-drop results in a significant performance
increase.

There are scenarios where a random drop is more appropriate.
If I find one in reality, I'll add the random drop code under
a conditional.

Obtained from: discussions and code done by Vernon Schryver (vjs@sgi.com).
1996-09-20 21:25:18 +00:00
1996-09-20 04:45:59 +00:00
1996-09-18 14:24:33 +00:00
1996-09-02 23:49:09 +00:00
1996-09-05 17:16:10 +00:00
1996-09-19 08:35:41 +00:00
1996-09-20 04:56:09 +00:00
1996-09-20 04:13:44 +00:00
Description
freebsd kernel with SKQ
2 GiB
Languages
C 63.3%
C++ 23.3%
Roff 5.1%
Shell 2.9%
Makefile 1.5%
Other 3.4%