KVM: improve comment on rcu use in irqfd_deassign
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 6 Mar 2011 11:03:26 +0000 (13:03 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:33 +0000 (13:08 -0300)
commitc8ce057eafd49da6a7afe7791bd84163f65f6132
treea40cff496f6ee5e2857509af0a2c1ccd89f7db1e
parent676646ee4b0931a1ef54389786983a43eb913a6f
KVM: improve comment on rcu use in irqfd_deassign

The RCU use in kvm_irqfd_deassign is tricky: we have rcu_assign_pointer
but no synchronize_rcu: synchronize_rcu is done by kvm_irq_routing_update
which we share a spinlock with.

Fix up a comment in an attempt to make this clearer.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/eventfd.c