mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
81931012bd
This gets rid of the last references to smp_read_barrier_depends() which for the kernel side was removed in v5.9. The serialization required for Alpha is done inside READ_ONCE() instead of having users deal with it. Simply use a full barrier, the architecture does not have rmb in the first place. Signed-off-by: Davidlohr Bueso <dave@stgolabs.net> Message-Id: <20221128034347.990-3-dave@stgolabs.net> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> |
||
---|---|---|
.. | ||
main.c | ||
main.h | ||
Makefile | ||
noring.c | ||
ptr_ring.c | ||
README | ||
ring.c | ||
run-on-all.sh | ||
virtio_ring_0_9.c | ||
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