Re: [PATCH v3 2/5] iommufd: Destroy vdevice on idevice destroy

From: Jason Gunthorpe
Date: Mon Jun 30 2025 - 10:51:53 EST


On Mon, Jun 30, 2025 at 06:18:50PM +0800, Xu Yilun wrote:

> I need to reconsider this, seems we need a dedicated vdev lock to
> synchronize concurrent vdev abort/destroy.

It is not possible to be concurrent

destroy is only called once after it is no longer possible to call
abort.

Jason