diff options
| author | Quentin Perret <qperret@google.com> | 2021-03-19 10:01:13 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2021-03-19 12:01:19 +0000 |
| commit | cc706a63894fdcc25d226378898921e1ab7dd64e (patch) | |
| tree | c9f6992e78c5b5228e995909aaa9f197c4576510 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | KVM: arm64: Initialize kvm_nvhe_init_params early (diff) | |
| download | linux-cc706a63894fdcc25d226378898921e1ab7dd64e.tar.gz linux-cc706a63894fdcc25d226378898921e1ab7dd64e.zip | |
KVM: arm64: Avoid free_page() in page-table allocator
Currently, the KVM page-table allocator uses a mix of put_page() and
free_page() calls depending on the context even though page-allocation
is always achieved using variants of __get_free_page().
Make the code consistent by using put_page() throughout, and reduce the
memory management API surface used by the page-table code. This will
ease factoring out page-allocation from pgtable.c, which is a
pre-requisite to creating page-tables at EL2.
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-6-qperret@google.com
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
