]> bbs.cooldavid.org Git - net-next-2.6.git/commit
KVM: MMU: limit rmap chain length
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 5 Aug 2009 18:43:58 +0000 (15:43 -0300)
committerAvi Kivity <avi@redhat.com>
Thu, 6 Aug 2009 09:06:54 +0000 (12:06 +0300)
commit53a27b39ff4d2492f84b1fdc2f0047175f0b0b93
tree7e772fd283bb1e75e54a9ba8ef887ea0e5c2baf2
parente9cbde8c158629cc96a26b2323c4a243536c1951
KVM: MMU: limit rmap chain length

Otherwise the host can spend too long traversing an rmap chain, which
happens under a spinlock.

Cc: stable@kernel.org
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c