Re: [PATCH] s390/vfio-ap: do not open code locks for VFIO_GROUP_NOTIFY_SET_KVM notification

Jason Gunthorpe
2021-07-15T14:57:26Z

On Thu, Jul 15, 2021 at 01:31:36PM +0200, Halil Pasic wrote:

> I'm in favor of rewriting this to use rw_semaphore. I'm not in favor
> of proclaiming this a fix for stable, because for that you first have
> to prove that you fix a real problem.

So Tony keeps saying that a rwsem couldn't work for what kvm_busy
does, so it should be trivial enough to put in the rwsem and capture
the lockdep spew.

> I hope we are on the same page.

Sure

Jason