Marcelo Tosatti wrote: > On Wed, Mar 12, 2008 at 08:13:41PM +0200, Izik Eidus wrote: > >> this patch simply register the mmu cache with the shrinker. >> > > Hi Izik, > > Nice. > > I think you want some sort of aging mechanism here. Walk through all > translations of a shadow page clearing the referenced bit of all > mappings it holds (and moving pages with any accessed translation to the > head of the list). >
While aging is not too hard to do, I don't think it would add much in practice; we rarely observe mmu shadow pages being recycled due to memory pressure. So this is mostly helpful for preventing a VM from pinning memory when under severe memory pressure, where we don't expect good performance anyway. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel