summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLeonardo Bras <leonardo@linux.ibm.com>2019-11-27 01:36:31 +0300
committerPaul Mackerras <paulus@ozlabs.org>2020-01-17 07:08:28 +0300
commite1bd0a7e248c3ce59b0509e47f035c0759fc68a3 (patch)
tree73ad1b1031b51fde68223cde76f287fc773acca6 /tools/perf/scripts/python/export-to-postgresql.py
parent8a9c8925149f195d0bbd6b42aa3130ced0a075fb (diff)
downloadlinux-e1bd0a7e248c3ce59b0509e47f035c0759fc68a3.tar.xz
KVM: PPC: Book3E: Replace current->mm by kvm->mm
Given that in kvm_create_vm() there is: kvm->mm = current->mm; And that on every kvm_*_ioctl we have: if (kvm->mm != current->mm) return -EIO; I see no reason to keep using current->mm instead of kvm->mm. By doing so, we would reduce the use of 'global' variables on code, relying more in the contents of kvm struct. Signed-off-by: Leonardo Bras <leonardo@linux.ibm.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions