diff options
author | Quentin Perret <qperret@google.com> | 2021-03-19 10:01:39 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-03-19 12:01:22 +0000 |
commit | 2fcb3a59401d2d12b5337b62c799eeb22cf40a2c (patch) | |
tree | 21d212a0e0504c2c09f32333f2d1751eb3402979 /net/ceph/auth.c | |
parent | 3fab82347ffb36c8b7b38dabc8e79276eeb1a81c (diff) | |
download | linux-2fcb3a59401d2d12b5337b62c799eeb22cf40a2c.tar.bz2 |
KVM: arm64: Add kvm_pgtable_stage2_find_range()
Since the host stage 2 will be identity mapped, and since it will own
most of memory, it would preferable for performance to try and use large
block mappings whenever that is possible. To ease this, introduce a new
helper in the KVM page-table code which allows to search for large
ranges of available IPA space. This will be used in the host memory
abort path to greedily idmap large portion of the PA space.
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210319100146.1149909-32-qperret@google.com
Diffstat (limited to 'net/ceph/auth.c')
0 files changed, 0 insertions, 0 deletions