mirror of https://gitee.com/openkylin/linux.git
d63031bb0f
BUG_ON(x) should raise an error if x is true, but assert(x) raises an error if x is false. Remove this bogus definition of BUG_ON(), which isn't used anyway. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
||
---|---|---|
.. | ||
Makefile | ||
README | ||
main.c | ||
main.h | ||
noring.c | ||
ptr_ring.c | ||
ring.c | ||
run-on-all.sh | ||
virtio_ring_0_9.c | ||
virtio_ring_inorder.c | ||
virtio_ring_poll.c |
README
Partial implementation of various ring layouts, useful to tune virtio design. Uses shared memory heavily. Typical use: # sh run-on-all.sh perf stat -r 10 --log-fd 1 -- ./ring