summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiang Chen <liangchen.linux@gmail.com>2024-05-09 07:47:10 +0300
committerSean Christopherson <seanjc@google.com>2024-06-03 20:55:15 +0300
commit4f8973e65fcd362b85942c80362cc9a7231b09fa (patch)
treedd22980fc71be1d3e0685ecb326c354b295555ea
parentc3f38fa61af77b49866b006939479069cd451173 (diff)
downloadlinux-4f8973e65fcd362b85942c80362cc9a7231b09fa.tar.xz
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 <liangchen.linux@gmail.com> Link: https://lore.kernel.org/r/20240509044710.18788-1-liangchen.linux@gmail.com Signed-off-by: Sean Christopherson <seanjc@google.com>
-rw-r--r--arch/x86/kvm/mmu/mmu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c
index 662f62dfb2aa..afc7489513bc 100644
--- a/arch/x86/kvm/mmu/mmu.c
+++ b/arch/x86/kvm/mmu/mmu.c
@@ -6893,7 +6893,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.