* [PATCH] KVM: x86: invalid_list not used anymore in mmu_shrink_scan
@ 2024-05-09 4:47 Liang Chen
2024-06-04 23:29 ` Sean Christopherson
0 siblings, 1 reply; 2+ messages in thread
From: Liang Chen @ 2024-05-09 4:47 UTC (permalink / raw)
To: seanjc, pbonzini; +Cc: kvm, liangchen.linux
'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(-)
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.
--
2.40.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] KVM: x86: invalid_list not used anymore in mmu_shrink_scan
2024-05-09 4:47 [PATCH] KVM: x86: invalid_list not used anymore in mmu_shrink_scan Liang Chen
@ 2024-06-04 23:29 ` Sean Christopherson
0 siblings, 0 replies; 2+ messages in thread
From: Sean Christopherson @ 2024-06-04 23:29 UTC (permalink / raw)
To: Sean Christopherson, pbonzini, Liang Chen; +Cc: kvm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-04 23:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-09 4:47 [PATCH] KVM: x86: invalid_list not used anymore in mmu_shrink_scan Liang Chen
2024-06-04 23:29 ` Sean Christopherson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox