diff options
author | 2021-07-26 16:35:49 +0100 | |
---|---|---|
committer | 2021-08-02 14:05:58 +0100 | |
commit | f2cc327303b13a70311e823bd52aa0bca8c7ddbc (patch) | |
tree | 2356bc2c3a50d2618f84f99fadeba59ae07d8da7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: arm64: Walk userspace page tables to compute the THP mapping size (diff) | |
download | wireguard-linux-f2cc327303b13a70311e823bd52aa0bca8c7ddbc.tar.xz wireguard-linux-f2cc327303b13a70311e823bd52aa0bca8c7ddbc.zip |
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 <maz@kernel.org>
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Link: https://lore.kernel.org/r/20210726153552.1535838-4-maz@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions