Commit 4f8973e6 authored by Liang Chen's avatar Liang Chen Committed by Sean Christopherson

KVM: x86: invalid_list not used anymore in mmu_shrink_scan

'invalid_list' is now gathered in KVM_MMU_ZAP_OLDEST_MMU_PAGES.
Signed-off-by: default avatarLiang Chen <liangchen.linux@gmail.com>
Link: https://lore.kernel.org/r/20240509044710.18788-1-liangchen.linux@gmail.comSigned-off-by: default avatarSean Christopherson <seanjc@google.com>
parent c3f38fa6
...@@ -6893,7 +6893,6 @@ static unsigned long mmu_shrink_scan(struct shrinker *shrink, ...@@ -6893,7 +6893,6 @@ static unsigned long mmu_shrink_scan(struct shrinker *shrink,
list_for_each_entry(kvm, &vm_list, vm_list) { list_for_each_entry(kvm, &vm_list, vm_list) {
int idx; int idx;
LIST_HEAD(invalid_list);
/* /*
* Never scan more than sc->nr_to_scan VM instances. * Never scan more than sc->nr_to_scan VM instances.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment