linux-sg2042/tools/virtio/ringtest
Michael S. Tsirkin 491847f3b2 tools/virtio: fix smp_mb on x86
Offset 128 overlaps the last word of the redzone.
Use 132 which is always beyond that.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-29 12:02:55 -05:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
README tools/virtio/ringtest: add usage example to README 2016-06-06 13:00:11 +03:00
main.c ringtest: support test specific parameters 2017-05-09 16:43:23 +03:00
main.h tools/virtio: fix smp_mb on x86 2018-01-29 12:02:55 -05: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
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: add inorder option 2016-05-22 19:44:12 +03:00
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