kernel_optimize_test/tools/virtio/ringtest
Michael S. Tsirkin 30f1d37074 tools/virtio: switch to __ptr_ring_empty
We don't rely on lockless guarantees, but it
seems cleaner than inverting __ptr_ring_peek.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-29 12:02:54 -05:00
..
main.c ringtest: support test specific parameters 2017-05-09 16:43:23 +03:00
main.h locking/x86: Use LOCK ADD for smp_mb() instead of MFENCE 2017-11-10 13:43:44 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
noring.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ptr_ring.c tools/virtio: switch to __ptr_ring_empty 2018-01-29 12:02:54 -05:00
README tools/virtio/ringtest: add usage example to README 2016-06-06 13:00:11 +03:00
ring.c ringtest: commonize implementation of poll_avail/poll_used 2016-10-31 00:21:43 +02:00
run-on-all.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtio_ring_0_9.c ringtest: commonize implementation of poll_avail/poll_used 2016-10-31 00:21:43 +02:00
virtio_ring_inorder.c
virtio_ring_poll.c

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