[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210726220317.GA1721383@nvidia.com>
Date: Mon, 26 Jul 2021 19:03:17 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Halil Pasic <pasic@...ux.ibm.com>
Cc: Tony Krowiak <akrowiak@...ux.ibm.com>, linux-s390@...r.kernel.org,
linux-kernel@...r.kernel.org, borntraeger@...ibm.com,
cohuck@...hat.com, pasic@...ux.vnet.ibm.com, jjherne@...ux.ibm.com,
alex.williamson@...hat.com, kwankhede@...dia.com, david@...hat.com
Subject: Re: [PATCH 2/2] s390/vfio-ap: replace open coded locks for
VFIO_GROUP_NOTIFY_SET_KVM notification
On Mon, Jul 26, 2021 at 10:36:28PM +0200, Halil Pasic wrote:
> You may end up with open and close running interleaved. What I'
> trying to say is, to my best knowledge, normally there is no
> you have to close it before you open it again rule for files.
This is an existing bug in this driver, I've fixed in the reflck series.
open_device/close_device will not run concurrently, or out of order,
afer it is fixed.
Jason
Powered by blists - more mailing lists