[RFC][PATCH 0/9] rework KVM mmu_shrink() code

Dave Hansen
2010-06-15T13:55:18Z

This is a big RFC for the moment. These need a bunch more
runtime testing.

--

We've seen contention in the mmu_shrink() function. This patch
set reworks it to hopefully be more scalable to large numbers
of CPUs, as well as large numbers of running VMs.

The patches are ordered with increasing invasiveness.

These seem to boot and run fine. I'm running about 40 VMs at
once, while doing "echo 3 > /proc/sys/vm/drop_caches", and
killing/restarting VMs constantly.

Seems to be relatively stable, and seems to keep the numbers
of kvm_mmu_page_header objects down.