summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2014-07-30 18:04:37 +0400
committerJoerg Roedel <jroedel@suse.de>2014-07-30 18:07:49 +0400
commitfcaa96060809224c4d2092e1e0d6efcf0d342bb4 (patch)
tree8fb3be362a38db6c038fddc8dd36a01878647304 /tools/perf/scripts/python/export-to-postgresql.py
parentd9e1611e7347b41bae8894e957a398fa41162dab (diff)
downloadlinux-fcaa96060809224c4d2092e1e0d6efcf0d342bb4.tar.xz
iommu/amd: Don't set pasid_state->mm to NULL in unbind_pasid
With calling te mmu_notifier_register function we hold a reference to the mm_struct that needs to be released in mmu_notifier_unregister. This is true even if the notifier was already unregistered from exit_mmap and the .release call-back has already run. So make sure we call mmu_notifier_unregister unconditionally in amd_iommu_unbind_pasid. Signed-off-by: Joerg Roedel <jroedel@suse.de> Tested-by: Oded Gabbay <oded.gabbay@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions