Commit a952d60
KVM: Use vfree for memory allocated by vcalloc()/__vcalloc()
commit 37b2a65("KVM: use __vcalloc for very large allocations")
replaced kvzalloc()/kvcalloc() with vcalloc(), but didn't replace kvfree()
with vfree().
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Link: https://lore.kernel.org/r/20240131012357.53563-1-lirongqing@baidu.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent b628cb5 commit a952d60
3 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12731 | 12731 | | |
12732 | 12732 | | |
12733 | 12733 | | |
12734 | | - | |
| 12734 | + | |
12735 | 12735 | | |
12736 | 12736 | | |
12737 | 12737 | | |
| |||
12743 | 12743 | | |
12744 | 12744 | | |
12745 | 12745 | | |
12746 | | - | |
| 12746 | + | |
12747 | 12747 | | |
12748 | 12748 | | |
12749 | 12749 | | |
| |||
12835 | 12835 | | |
12836 | 12836 | | |
12837 | 12837 | | |
12838 | | - | |
| 12838 | + | |
12839 | 12839 | | |
12840 | 12840 | | |
12841 | 12841 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1020 | 1020 | | |
1021 | 1021 | | |
1022 | 1022 | | |
1023 | | - | |
| 1023 | + | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | 1026 | | |
| |||
0 commit comments