diff options
| author | Quentin Perret <qperret@google.com> | 2021-03-19 13:01:33 +0300 | 
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2021-03-19 15:01:21 +0300 | 
| commit | e37f37a0e780f23210b2a5cb314dab39fea7086a (patch) | |
| tree | 6aa9fb7351c362a2ec52d737abd08ae53aabeb49 /tools/perf/scripts/python | |
| parent | 159b859beed76836a2c7cfa6303c312a40bb9dc7 (diff) | |
| download | linux-e37f37a0e780f23210b2a5cb314dab39fea7086a.tar.xz | |
KVM: arm64: Make memcache anonymous in pgtable allocator
The current stage2 page-table allocator uses a memcache to get
pre-allocated pages when it needs any. To allow re-using this code at
EL2 which uses a concept of memory pools, make the memcache argument of
kvm_pgtable_stage2_map() anonymous, and let the mm_ops zalloc_page()
callbacks use it the way they need to.
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-26-qperret@google.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
