Skip to contentSkip to conversation

KVM: x86: invalid_list not used anymore in mmu_shrink_scan

PATCH Applied Liang Chen 2 participants 2 messages May 9, 2024 – Jun 4, 2024

Subsystems (3)
lore
Share & tools
lore

Liang Chen

author
#0 lore raw

PATCH 1/1 KVM: x86: invalid_list not used anymore in mmu_shrink_scan

'invalid_list' is now gathered in KVM_MMU_ZAP_OLDEST_MMU_PAGES.

---
 arch/x86/kvm/mmu/mmu.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/kvm/mmu/mmu.c +0 -1
index db007a4dffa2..49efa6a9c739 100644
@@ -6880,7 +6880,6 @@ static unsigned long mmu_shrink_scan(struct shrinker *shrink,
 
 	list_for_each_entry(kvm, &vm_list, vm_list) {
 		int idx;
-		LIST_HEAD(invalid_list);
 
 		/*
 		 * Never scan more than sc->nr_to_scan VM instances.
Signature · 1 line
2.40.1