aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2021-07-26 16:35:49 +0100
committerMarc Zyngier <[email protected]>2021-08-02 14:05:58 +0100
commitf2cc327303b13a70311e823bd52aa0bca8c7ddbc (patch)
tree2356bc2c3a50d2618f84f99fadeba59ae07d8da7 /lib/test_overflow.c
parent6011cf68c88545e16cb32039c2cecfdae6a32315 (diff)
KVM: arm64: Avoid mapping size adjustment on permission fault
Since we only support PMD-sized mappings for THP, getting a permission fault on a level that results in a mapping being larger than PAGE_SIZE is a sure indication that we have already upgraded our mapping to a PMD. In this case, there is no need to try and parse userspace page tables, as the fault information already tells us everything. Signed-off-by: Marc Zyngier <[email protected]> Reviewed-by: Alexandru Elisei <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions