OSDN Git Service

KVM: X86: Use GFP_KERNEL_ACCOUNT for pid_table in ipiv
authorPeng Hao <flyingpeng@tencent.com>
Fri, 28 Jul 2023 06:49:48 +0000 (14:49 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 29 Jul 2023 15:05:25 +0000 (11:05 -0400)
commitfd1815ea709e414f83a06e4cf13ade4a49dd0fda
tree1166320be25b90222386e64f9cb6abb9ecc683bf
parentbf672720e83cf04c007aa11c242229e70985135b
KVM: X86: Use GFP_KERNEL_ACCOUNT for pid_table in ipiv

The pid_table of ipiv is the persistent memory allocated by
per-vcpu, which should be counted into the memory cgroup.

Signed-off-by: Peng Hao <flyingpeng@tencent.com>
Message-Id: <CAPm50aLxCQ3TQP2Lhc0PX3y00iTRg+mniLBqNDOC=t9CLxMwwA@mail.gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c