aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2018-05-07 17:24:34 +0000
committerPaolo Bonzini <[email protected]>2018-05-11 09:21:11 +0000
commit452a68d0ef341c4d544757e02154788227b2a08b (patch)
treecd20a5942452373352c9861437b13f0eb58f94fe /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentx86: Delay skip of emulated hypercall instruction (diff)
downloadkernel-452a68d0ef341c4d544757e02154788227b2a08b.tar.gz
kernel-452a68d0ef341c4d544757e02154788227b2a08b.zip
KVM: hyperv: idr_find needs RCU protection
Even though the eventfd is released after the KVM SRCU grace period elapses, the conn_to_evt data structure itself is not; it uses RCU internally, instead. Fix the read-side critical section to happen under rcu_read_lock/unlock; the result is still protected by vcpu->kvm->srcu. Reviewed-by: Roman Kagan <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions