summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/mmu.c
diff options
context:
space:
mode:
authorRicardo Koller <ricarkol@google.com>2023-04-26 17:23:24 +0000
committerOliver Upton <oliver.upton@linux.dev>2023-05-16 17:39:18 +0000
commit8f5a3eb7513fc4deae511ce91af1c2c23874a8a7 (patch)
tree9e9b9dc3c3f9634856d41fd0e129e0798e5f8752 /arch/arm64/kvm/mmu.c
parent2f440b72e852be428540579b5813ba2b8236578d (diff)
KVM: arm64: Add kvm_pgtable_stage2_split()
Add a new stage2 function, kvm_pgtable_stage2_split(), for splitting a range of huge pages. This will be used for eager-splitting huge pages into PAGE_SIZE pages. The goal is to avoid having to split huge pages on write-protection faults, and instead use this function to do it ahead of time for large ranges (e.g., all guest memory in 1G chunks at a time). Signed-off-by: Ricardo Koller <ricarkol@google.com> Reviewed-by: Shaoqin Huang <shahuang@redhat.com> Reviewed-by: Gavin Shan <gshan@redhat.com> Link: https://lore.kernel.org/r/20230426172330.1439644-7-ricarkol@google.com Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'arch/arm64/kvm/mmu.c')
0 files changed, 0 insertions, 0 deletions