]> 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)
commit05b1cddcd4edbf50e86728960a07e698d403feb5
treeb11423c268706f17d6cb66748bbf8620a49979c5
parent52177770305ebb72959884d029e20f10763068e4
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