]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/svm: add __GFP_ACCOUNT to __sev_dbg_{en,de}crypt_user()
authorMingwei Zhang <mizhang@google.com>
Thu, 23 Jun 2022 17:18:58 +0000 (17:18 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jun 2022 07:58:06 +0000 (03:58 -0400)
commit6d6a0b3c615536496dfb9bb3dcd214a95224df7b
treeb11423c268706f17d6cb66748bbf8620a49979c5
parent99d47d9910db6595899d62dd726da4cea79c6e02
KVM: x86/svm: add __GFP_ACCOUNT to __sev_dbg_{en,de}crypt_user()

Adding the accounting flag when allocating pages within the SEV function,
since these memory pages should belong to individual VM.

No functional change intended.

Signed-off-by: Mingwei Zhang <mizhang@google.com>
Message-Id: <20220623171858.2083637-1-mizhang@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/sev.c