]> git.baikalelectronics.ru Git - kernel.git/commit
ptr_ring: clean up documentation
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 25 Jan 2018 23:36:28 +0000 (01:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jan 2018 17:02:53 +0000 (12:02 -0500)
commitd5218f714e8141c1d96a2ca6b4a304431ab97e9d
tree5eafe065bab22056a0f6ee6410f78b7debb2f5a5
parentb1438aa6185987daf898322994c2b9ffef8b28f9
ptr_ring: clean up documentation

The only function safe to call without locks
is __ptr_ring_empty. Move documentation about
lockless use there to make sure people do not
try to use __ptr_ring_peek outside locks.

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