From: Marcelo Tosatti Date: Tue, 28 Oct 2008 20:16:58 +0000 (-0200) Subject: KVM: MMU: increase per-vcpu rmap cache alloc size X-Git-Tag: v2.6.28-rc5~75^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c41ef344de212bd918f7765af21b5008628c03e0;p=pandora-kernel.git KVM: MMU: increase per-vcpu rmap cache alloc size The page fault path can use two rmap_desc structures, if: - walk_addr's dirty pte update allocates one rmap_desc. - mmu_lock is dropped, sptes are zapped resulting in rmap_desc being freed. - fetch->mmu_set_spte allocates another rmap_desc. Increase to 4 for safety. Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- Reading git-diff-tree failed