summaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2012-06-04 14:53:23 +0300
committerAvi Kivity <avi@redhat.com>2012-06-05 17:46:43 +0300
commit1952639665e92481c34c34c3e2a71bf3e66ba362 (patch)
tree0f6a1904bffb0d59e9b74a46fb175207106436de /lib/mpi
parenta6bb7929677aacfce3f864c3cdacaa7d527945d5 (diff)
KVM: MMU: do not iterate over all VMs in mmu_shrink()
mmu_shrink() needlessly iterates over all VMs even though it will not attempt to free mmu pages from more than one on them. Fix that and also check used mmu pages count outside of VM lock to skip inactive VMs faster. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions