From: Dave Hansen Subject: [RFC][PATCH 0/9] rework KVM mmu_shrink() code Date: Tue, 15 Jun 2010 06:55:18 -0700 Message-ID: <20100615135518.BC244431@kernel.beaverton.ibm.com> Cc: kvm@vger.kernel.org, Dave Hansen To: linux-kernel@vger.kernel.org Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 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.