Thread (64 messages) flat view 64 messages, 2 authors, 2021-03-08

Re: [PATCH v3 23/32] KVM: arm64: Make memcache anonymous in pgtable allocator

From: Will Deacon <will@kernel.org>
Date: 2021-03-04 19:45:55
Also in: kvmarm, lkml

On Tue, Mar 02, 2021 at 02:59:53PM +0000, Quentin Perret wrote:
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.

Signed-off-by: Quentin Perret <redacted>
---
 arch/arm64/include/asm/kvm_pgtable.h | 6 +++---
 arch/arm64/kvm/hyp/pgtable.c         | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
Acked-by: Will Deacon <will@kernel.org>

Will

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help