virtio: Do LIFO in the freelist
authorsf <sf@openbsd.org>
Tue, 30 May 2017 08:35:32 +0000 (08:35 +0000)
committersf <sf@openbsd.org>
Tue, 30 May 2017 08:35:32 +0000 (08:35 +0000)
commitc07e60250f500a143a8d4184edebc6b777f731ee
tree969d6673801b46aa63b241df0b8646fcef13691c
parent2d0d1734211cb81201b4621dddbf9f864303df0e
virtio: Do LIFO in the freelist

Use a SLIST instead of a SIMPLEQ and use LIFO instead of FIFO. This should
improve cache usage.
sys/dev/pv/virtio.c
sys/dev/pv/virtiovar.h