]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS: Account pages used for GPA page tables
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 3 Jul 2020 02:35:44 +0000 (19:35 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jul 2020 17:29:44 +0000 (13:29 -0400)
commit7c6488d114febf8d05044c8303f06d745038748e
tree3dfda58f1e4b6d6370f312c308082b76ecc4698a
parentf032ed67ccd5d87cc2f0c2eb892aae3b1c30cb6a
KVM: MIPS: Account pages used for GPA page tables

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 accounting is a bonus side effect.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200703023545.8771-21-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/mmu.c