Re: [PATCH 2/3] KVM: Centralize slots_lock aquisition during
Takuya Yoshikawa <[email protected]> Thu, 16 Dec 2010 12:51:20 +0000
| Newsgroups | org.kernel.vger.kvm-ia64,org.kernel.vger.kvm |
|---|---|
| Message-ID | <[email protected]> |
Avi Kivity <[email protected]> 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