Re: [PATCH 2/3] KVM: Centralize slots_lock aquisition during KVM_CREATE_IRQCHIP

Takuya Yoshikawa
2010-12-16T12:51:26Z

Avi Kivity <avi@redhat.com> wrote:
>
> One day I'll write Documentation/kvm/locking.txt, so it could get
> outdated as well.
>

I seemed to be in EOY(End Of Year) mode.

I remember why I could not move slots_lock acquisition to
kvm_io_bus_[un]register().

The locking order constraint forced me to take slots_lock
outside of irq_lock.

So there won't be much things to be done anymore except your
documentation!

Thanks,
Takuya