Commit dd10340
KVM: X86: Remove unnecessary GFP_KERNEL_ACCOUNT for temporary variables
Some variables allocated in kvm_arch_vcpu_ioctl are released when
the function exits, so there is no need to set GFP_KERNEL_ACCOUNT.
Signed-off-by: Peng Hao <flyingpeng@tencent.com>
Link: https://lore.kernel.org/r/20240624012016.46133-1-flyingpeng@tencent.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent 8815d77 commit dd10340
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5884 | 5884 | | |
5885 | 5885 | | |
5886 | 5886 | | |
5887 | | - | |
5888 | | - | |
| 5887 | + | |
5889 | 5888 | | |
5890 | 5889 | | |
5891 | 5890 | | |
| |||
6078 | 6077 | | |
6079 | 6078 | | |
6080 | 6079 | | |
6081 | | - | |
| 6080 | + | |
6082 | 6081 | | |
6083 | 6082 | | |
6084 | 6083 | | |
| |||
6109 | 6108 | | |
6110 | 6109 | | |
6111 | 6110 | | |
6112 | | - | |
| 6111 | + | |
6113 | 6112 | | |
6114 | 6113 | | |
6115 | 6114 | | |
| |||
6127 | 6126 | | |
6128 | 6127 | | |
6129 | 6128 | | |
6130 | | - | |
| 6129 | + | |
6131 | 6130 | | |
6132 | 6131 | | |
6133 | 6132 | | |
| |||
0 commit comments