aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2018-01-26 01:36:28 +0200
committerDavid S. Miller <davem@davemloft.net>2018-01-29 12:02:53 -0500
commit8619d384eb5e9256a9d4ebe96c1832ac9b9049d6 (patch)
tree5eafe065bab22056a0f6ee6410f78b7debb2f5a5 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentptr_ring: keep consumer_head valid at all times (diff)
downloadwireguard-linux-8619d384eb5e9256a9d4ebe96c1832ac9b9049d6.tar.xz
wireguard-linux-8619d384eb5e9256a9d4ebe96c1832ac9b9049d6.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions