Re: [PATCH 20/21] KVM: MIPS: Account pages used for GPA page tables

2020-06-08 Thread Huacai Chen
Reviewed-by: Huacai Chen On Sat, Jun 6, 2020 at 5:40 AM Sean Christopherson wrote: > > Use GFP_KERNEL_ACCOUNT instead of GFP_KERNEL when allocating pages for > the the GPA page tables. The primary motivation for accounting the > allocations is to align with the common KVM memory cache helpers

[PATCH 20/21] KVM: MIPS: Account pages used for GPA page tables

2020-06-05 Thread Sean Christopherson
Use GFP_KERNEL_ACCOUNT instead of GFP_KERNEL when allocating pages for the the GPA page tables. The primary motivation for accounting the allocations is to align with the common KVM memory cache helpers in preparation for moving to the common implementation in a future patch. The actual