diff options
author | Michael Knudsen <mk@cvs.openbsd.org> | 2010-06-28 18:40:52 +0000 |
---|---|---|
committer | Michael Knudsen <mk@cvs.openbsd.org> | 2010-06-28 18:40:52 +0000 |
commit | f668ba96c8a5c3248f9ce4db53f92c7ef8e16f9c (patch) | |
tree | 4764c84f3f390379127315563845a80b9527870e /sys/net/rtsock.c | |
parent | 32d204697861b907520e94f82e392d3e7d6d661a (diff) |
Use an SLIST instead of a TAILQ for the ccb free list. Order doesn't
matter, an SLIST is smaller, and the first element is more likely to be
in cache. Previously we took from the head and returned to the tail,
which meant that we were using the ccb that was the least recently used
one which also means it has the smallest chance of being in cache.
ok deraadt
Diffstat (limited to 'sys/net/rtsock.c')
0 files changed, 0 insertions, 0 deletions