summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2022-11-07 21:56:36 +0000
committerMarc Zyngier <maz@kernel.org>2022-11-10 14:43:46 +0000
commit6b91b8f95cadd3441c056182daf9024475ac4a91 (patch)
tree47c413fa22c1b28e5c4143494ad5895a7aff487d /tools/perf/util/scripting-engines/trace-event-python.c
parent8e94e1252cc054bb31fd3e9a15235cd831970ec1 (diff)
downloadlinux-6b91b8f95cadd3441c056182daf9024475ac4a91.tar.gz
linux-6b91b8f95cadd3441c056182daf9024475ac4a91.tar.bz2
linux-6b91b8f95cadd3441c056182daf9024475ac4a91.zip
KVM: arm64: Use an opaque type for pteps
Use an opaque type for pteps and require visitors explicitly dereference the pointer before using. Protecting page table memory with RCU requires that KVM dereferences RCU-annotated pointers before using. However, RCU is not available for use in the nVHE hypervisor and the opaque type can be conditionally annotated with RCU for the stage-2 MMU. Call the type a 'pteref' to avoid a naming collision with raw pteps. No functional change intended. Signed-off-by: Oliver Upton <oliver.upton@linux.dev> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221107215644.1895162-7-oliver.upton@linux.dev
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions