diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2020-05-07 20:35:45 +0800 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-05-16 15:05:02 +0100 |
commit | 9f2836146b11cdf98d5c8f8f71b0fce28fbd83c8 (patch) | |
tree | d2211980834c3a1ede89b32f19dd45a087fbac65 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 48c963e31bc664afafd31058483ea8390da63980 (diff) |
KVM: arm64: Clean up the checking for huge mapping
If we are checking whether the stage2 can map PAGE_SIZE,
we don't have to do the boundary checks as both the host
VMA and the guest memslots are page aligned. Bail the case
easily.
While we're at it, fixup a typo in the comment below.
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200507123546.1875-2-yuzenghui@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions