Skip to content

Commit 4f8973e

Browse files
LiangChen77sean-jc
authored andcommitted
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: Liang Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
1 parent c3f38fa commit 4f8973e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/x86/kvm/mmu/mmu.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6893,7 +6893,6 @@ static unsigned long mmu_shrink_scan(struct shrinker *shrink,
68936893

68946894
list_for_each_entry(kvm, &vm_list, vm_list) {
68956895
int idx;
6896-
LIST_HEAD(invalid_list);
68976896

68986897
/*
68996898
* Never scan more than sc->nr_to_scan VM instances.

0 commit comments

Comments
 (0)