Home
last modified time | relevance | path

Searched hist:"452 a68d0ef341c4d544757e02154788227b2a08b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/kvm/
H A Dhyperv.cdiff 452a68d0ef341c4d544757e02154788227b2a08b Mon May 07 12:24:34 CDT 2018 Paolo Bonzini <pbonzini@redhat.com> 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 <rkagan@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>