diff options
author | alc <alc@FreeBSD.org> | 2003-05-13 04:36:02 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-05-13 04:36:02 +0000 |
commit | 0422418ef409d77459414f521175563ac8f3100f (patch) | |
tree | 64fabc395742fda6135861081668f303c073ca2e /sys/netinet/tcp_syncache.c | |
parent | 0d14921801d80ac047a0aed411cd3bb3916a3436 (diff) | |
download | FreeBSD-src-0422418ef409d77459414f521175563ac8f3100f.zip FreeBSD-src-0422418ef409d77459414f521175563ac8f3100f.tar.gz |
Optimize the use of splay in gbincore(). During a "make buildworld" the
desired buffer is found at one of the roots more than 60% of the time.
Thus, checking both roots before performing either splay eliminates
unnecessary splays on the first tree splayed.
Approved by: re (jhb)
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
0 files changed, 0 insertions, 0 deletions