summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_em.c
diff options
context:
space:
mode:
authormk <mk@openbsd.org>2010-06-28 18:40:51 +0000
committermk <mk@openbsd.org>2010-06-28 18:40:51 +0000
commit8a58b287b1a73c2d678d9005e2b31412d13a5193 (patch)
tree441cce8b421a13335c8069e851546b411c7e892e /sys/dev/pci/if_em.c
parentRemove all adapter-specific 'struct scsi_device's. They are never used. First (diff)
downloadwireguard-openbsd-8a58b287b1a73c2d678d9005e2b31412d13a5193.tar.xz
wireguard-openbsd-8a58b287b1a73c2d678d9005e2b31412d13a5193.zip
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/dev/pci/if_em.c')
0 files changed, 0 insertions, 0 deletions