diff mbox series

KVM: x86: invalid_list not used anymore in mmu_shrink_scan

Message ID 20240509044710.18788-1-liangchen.linux@gmail.com (mailing list archive)
State New, archived
Headers show
Series KVM: x86: invalid_list not used anymore in mmu_shrink_scan | expand

Commit Message

Liang Chen May 9, 2024, 4:47 a.m. UTC
'invalid_list' is now gathered in KVM_MMU_ZAP_OLDEST_MMU_PAGES.

Signed-off-by: Liang Chen <liangchen.linux@gmail.com>
---
 arch/x86/kvm/mmu/mmu.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Sean Christopherson June 4, 2024, 11:29 p.m. UTC | #1
On Thu, 09 May 2024 12:47:10 +0800, Liang Chen wrote:
> 'invalid_list' is now gathered in KVM_MMU_ZAP_OLDEST_MMU_PAGES.
> 
> 

Applied to kvm-x86 mmu, thanks!

[1/1] KVM: x86: invalid_list not used anymore in mmu_shrink_scan
      https://github.com/kvm-x86/linux/commit/4f8973e65fcd

--
https://github.com/kvm-x86/linux/tree/next
diff mbox series

Patch

diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c
index db007a4dffa2..49efa6a9c739 100644
--- a/arch/x86/kvm/mmu/mmu.c
+++ b/arch/x86/kvm/mmu/mmu.c
@@ -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.