Re: [PATCH] KVM: x86/mmu: Register MMU shrinker only when necessary

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2024-08-14 07:41:19, Sean Christopherson wrote:
> +Vipin and David
> 
> On Wed, Aug 14, 2024, Liang Chen wrote:
> > The shrinker is allocated with TDP MMU, which is meaningless except for
> > nested VMs, and 'count_objects' is also called each time the reclaim
> > path tries to shrink slab caches. Let's allocate the shrinker only when
> > necessary.
> 
> This is definitely not worth the complexity.  In its current form, KVM's shrinker
> is quite useless[1], and there were plans to repurpose the shrinker to free pages
> from the so called "mmu caches"[2], i.e. free pages that are guaranteed to not be
> in use.
> 
> Vipin/David, what happened to that series?  Are we still working on it?
> 
> [1] https://lore.kernel.org/lkml/Y45dldZnI6OIf+a5@xxxxxxxxxx
> [2] https://lore.kernel.org/all/20221222023457.1764-2-vipinsh@xxxxxxxxxx

NUMA aware page table series got deprioritized, so, MMU shrinker changes
also moved to back burner.

I will extract the patch [2] above and send it as a separate series which
just changes the Shrinker behavior as it is independent of NUMA aware
page table effort.




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux