]> git.baikalelectronics.ru Git - kernel.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)
commit253734b5a1bd7a48b9d25309226894787069b809
tree3bf27497f8ddf563514733ad40e53d180b5aa6f2
parentcbbb65a5f0a036190cfc9baafa4a727d49551927
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