]> git.baikalelectronics.ru Git - kernel.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)
commit8e07389d66cf13054395a84df7a38935d5e1077a
tree7e772fd283bb1e75e54a9ba8ef887ea0e5c2baf2
parent792107c6dd0c609ca8a498da8d220d6d6a1d5e50
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