Re: [RFC PATCH v2 05/26] KVM: arm64: Avoid free_page() in page-table allocator
From: Will Deacon <will@kernel.org>
Date: 2021-02-01 17:48:16
Also in:
kvmarm, linux-arm-kernel, lkml
From: Will Deacon <will@kernel.org>
Date: 2021-02-01 17:48:16
Also in:
kvmarm, linux-arm-kernel, lkml
On Fri, Jan 08, 2021 at 12:15:03PM +0000, Quentin Perret wrote:
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 consitent by using put_page() throughout, and reduce the
typo: consistent
memory management API surface used by the page-table code. This will ease factoring out page-alloction from pgtable.c, which is a pre-requisite to creating page-tables at EL2. Signed-off-by: Quentin Perret <redacted> --- arch/arm64/kvm/hyp/pgtable.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
Acked-by: Will Deacon <will@kernel.org> Will