summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQuentin Perret <qperret@google.com>2021-03-19 13:01:33 +0300
committerMarc Zyngier <maz@kernel.org>2021-03-19 15:01:21 +0300
commite37f37a0e780f23210b2a5cb314dab39fea7086a (patch)
tree6aa9fb7351c362a2ec52d737abd08ae53aabeb49 /tools/perf/scripts/python
parent159b859beed76836a2c7cfa6303c312a40bb9dc7 (diff)
downloadlinux-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