iommu/amd: Don't hold a reference to mm_struct
authorJoerg Roedel <jroedel@suse.de>
Tue, 8 Jul 2014 13:15:07 +0000 (15:15 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 10 Jul 2014 13:36:52 +0000 (15:36 +0200)
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: Joerg Roedel <jroedel@suse.de>
Tested-by: Oded Gabbay <Oded.Gabbay@amd.com>
drivers/iommu/amd_iommu_v2.c

Simple merge