]> www.infradead.org Git - users/hch/misc.git/commit
ptr_ring: document usage around __ptr_ring_peek
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 10 Jan 2018 14:03:05 +0000 (16:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Jan 2018 18:19:12 +0000 (13:19 -0500)
commit66940f35d5a81d5969bb5543171c70a434fc5110
tree3bf27497f8ddf563514733ad40e53d180b5aa6f2
parentd542296a4d0d9f41d0186edcac2baba1b674d02f
ptr_ring: document usage around __ptr_ring_peek

This explains why is the net usage of __ptr_ring_peek
actually ok without locks.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ptr_ring.h