summaryrefslogtreecommitdiff
path: root/rust/helpers/build_assert.c
diff options
context:
space:
mode:
authorYongqiang Liu <liuyongqiang13@huawei.com>2024-08-21 14:27:37 +0300
committerSean Christopherson <seanjc@google.com>2024-08-22 21:35:09 +0300
commitc501062bb22ba325b7b77c91433d79574b4a3dcc (patch)
tree668cf78c578a3ca75befd2ee93f1ec021471f2f9 /rust/helpers/build_assert.c
parent47ac09b91befbb6a235ab620c32af719f8208399 (diff)
downloadlinux-c501062bb22ba325b7b77c91433d79574b4a3dcc.tar.xz
KVM: SVM: Remove unnecessary GFP_KERNEL_ACCOUNT in svm_set_nested_state()
The fixed size temporary variables vmcb_control_area and vmcb_save_area allocated in svm_set_nested_state() are released when the function exits. Meanwhile, svm_set_nested_state() also have vcpu mutex held to avoid massive concurrency allocation, so we don't need to set GFP_KERNEL_ACCOUNT. Signed-off-by: Yongqiang Liu <liuyongqiang13@huawei.com> Link: https://lore.kernel.org/r/20240821112737.3649937-1-liuyongqiang13@huawei.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions