summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorQuentin Perret <qperret@google.com>2021-08-09 18:24:30 +0300
committerMarc Zyngier <maz@kernel.org>2021-08-11 13:39:36 +0300
commit1bac49d490cbc813f407a5c9806e464bf4a300c9 (patch)
tree71f0adecb43a6ab075b8d0f7d145b2aed988bdbd /tools/perf/scripts/python/exported-sql-viewer.py
parent8e049e0daf23aa380c264e5e15e4c64ea5497ed7 (diff)
downloadlinux-1bac49d490cbc813f407a5c9806e464bf4a300c9.tar.xz
KVM: arm64: Provide the host_stage2_try() helper macro
We currently unmap all MMIO mappings from the host stage-2 to recycle the pages whenever we run out. In order to make this pattern easy to re-use from other places, factor the logic out into a dedicated macro. While at it, apply the macro for the kvm_pgtable_stage2_set_owner() calls. They're currently only called early on and are guaranteed to succeed, but making them robust to the -ENOMEM case doesn't hurt and will avoid painful debugging sessions later on. Reviewed-by: Fuad Tabba <tabba@google.com> Signed-off-by: Quentin Perret <qperret@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20210809152448.1810400-4-qperret@google.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions