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)
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>

No differences found