diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2022-11-07 21:56:32 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-11-10 14:43:46 +0000 |
commit | 83844a2317ecad935f6735abd854e4bf3f757040 (patch) | |
tree | 82ebdf8fb6f509b8f584bf53e8b8f20a42e42cda /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | dfc7a7769ab7f2a2f629c673717ef1fa7b63aa42 (diff) | |
download | linux-83844a2317ecad935f6735abd854e4bf3f757040.tar.gz linux-83844a2317ecad935f6735abd854e4bf3f757040.tar.bz2 linux-83844a2317ecad935f6735abd854e4bf3f757040.zip |
KVM: arm64: Stash observed pte value in visitor context
Rather than reading the ptep all over the shop, read the ptep once from
__kvm_pgtable_visit() and stick it in the visitor context. Reread the
ptep after visiting a leaf in case the callback installed a new table
underneath.
No functional change intended.
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Reviewed-by: Ben Gardon <bgardon@google.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221107215644.1895162-3-oliver.upton@linux.dev
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions