diff options
author | 2019-09-23 18:30:23 -0300 | |
---|---|---|
committer | 2019-10-22 16:29:01 +1100 | |
commit | 258ed7d02843052d127df2264c8b342276ced18a (patch) | |
tree | e821ab28340648e4380cbcfc340b9567b2f1a86f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: PPC: Report single stepping capability (diff) | |
download | linux-dev-258ed7d02843052d127df2264c8b342276ced18a.tar.xz linux-dev-258ed7d02843052d127df2264c8b342276ced18a.zip |
KVM: PPC: Reduce calls to get current->mm by storing the value locally
Reduces the number of calls to get_current() in order to get the value of
current->mm by doing it once and storing the value, since it is not
supposed to change inside the same process).
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