android_kernel_sony_sdm845/tools/virtio/ringtest
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michael S. Tsirkin 7334e28569 ptr_ring: fix up after recent ptr_ring changes
[ Upstream commit 5790eabc6e7c3ce2d6ca2e3bbf4de467ce2b64b3 ]

Add more stubs to make it build.

Fixes: 81fbfe8a ("ptr_ring: use kmalloc_array()")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-11-10 07:42:50 -08:00
..
main.c ringtest: poll for new buffers once before updating event index 2016-10-31 00:21:43 +02:00
main.h ringtest: commonize implementation of poll_avail/poll_used 2016-10-31 00:21:43 +02:00
Makefile ringtest: use link-time optimization 2016-10-31 00:21:42 +02:00
noring.c ringtest: commonize implementation of poll_avail/poll_used 2016-10-31 00:21:43 +02:00
ptr_ring.c ptr_ring: fix up after recent ptr_ring changes 2018-11-10 07:42:50 -08: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 tools/virtio/ringtest: fix run-on-all.sh for offline cpus 2017-01-26 08:24:46 +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