Messages in this thread | | | Date | Thu, 6 Nov 2014 23:51:50 +0100 | From | Joerg Roedel <> | Subject | Re: [PATCH 1/1] iommu/amd: Use delayed mmu release notifier |
| |
On Thu, Nov 06, 2014 at 03:48:51PM +0200, Oded Gabbay wrote: > What do you mean ? I don't see I change anything in the API. All the > changes are internal to amd_iommu_unbind_pasid(). I don't think > *anyone* calling to amd_iommu_unbind_pasid() will care or will > notice the slight change in timing of releasing the pasid_state > object (instead of immediate release, it is released after the > iteration on the mmu_notifier list has finished)
The API change is that this patch modifies amd_iommu_unbind_pasid() so that it could be called from an mmu_notifier_release call-back (which is not possible right now). It does that by adding just another layer of call-backs and complicates the code. I'd like to keep that outside of the IOMMUv2 driver.
Joerg
| |