On Wed, May 14, 2025 at 12:21:37PM -0700, Nicolin Chen wrote: > > Then when the command is over the core code either aborts or finalizes > > the objects in the iommufd_ucmd. This way you don't have to expose > > abort and related to drivers. > > I see! Do you want this to apply to the all objects or just driver > allocated ones?
I would do all the ones that can work that way easily I think it would just be one patch, replace this patch with that one. > We would need a bigger preparatory series to roll out that to all > the allocators, and need to be careful at the existing abort() that > intertwines with other steps like an unlock(). Those cases with special locking couldn't use it. Jason