iommu/amd: Don't hold a reference to mm_struct
With mmu_notifiers we don't need to hold a reference to the mm_struct during the time the pasid is bound to a device. We can rely on the .mn_release call back to inform us when the mm_struct goes away. Signed-off-by: NJoerg Roedel <jroedel@suse.de> Tested-by: NOded Gabbay <Oded.Gabbay@amd.com>
Showing
想要评论请 注册 或 登录