aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorOliver Upton <[email protected]>2022-11-07 21:56:32 +0000
committerMarc Zyngier <[email protected]>2022-11-10 14:43:46 +0000
commit83844a2317ecad935f6735abd854e4bf3f757040 (patch)
tree82ebdf8fb6f509b8f584bf53e8b8f20a42e42cda /lib/mpi/mpi-mod.c
parentdfc7a7769ab7f2a2f629c673717ef1fa7b63aa42 (diff)
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 <[email protected]> Reviewed-by: Ben Gardon <[email protected]> Reviewed-by: Gavin Shan <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions