]> git.baikalelectronics.ru Git - kernel.git/commit
vfio/pci: Hold igate across releasing eventfd contexts
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 27 Jul 2020 19:43:38 +0000 (13:43 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 27 Jul 2020 19:43:38 +0000 (13:43 -0600)
commit52da2b66efa13fd334fcbfda85a670a4c6f841ff
treeec7d3876a5e25203c97794d5e964a312b7b00366
parent984f57ef248b58e0d9c227ee5932fa95cbc5c1f1
vfio/pci: Hold igate across releasing eventfd contexts

No need to release and immediately re-acquire igate while clearing
out the eventfd ctxs.

Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci.c