]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Allocate stage-2 pgd pages with GFP_KERNEL_ACCOUNT
authorWill Deacon <will@kernel.org>
Mon, 26 Oct 2020 14:44:23 +0000 (14:44 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 29 Oct 2020 19:49:03 +0000 (19:49 +0000)
commite4d18652449a677f77fe56118349022a02f9d7a9
tree7c6bf05b8a106f5c84efae7a0d03ae4d8dd0fe47
parentbba27a3a13ed3a2417bbfd205604cf15df9d2a9d
KVM: arm64: Allocate stage-2 pgd pages with GFP_KERNEL_ACCOUNT

For consistency with the rest of the stage-2 page-table page allocations
(performing using a kvm_mmu_memory_cache), ensure that __GFP_ACCOUNT is
included in the GFP flags for the PGD pages.

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20201026144423.24683-1-will@kernel.org
arch/arm64/kvm/hyp/pgtable.c