From: Marcelo Tosatti Date: Thu, 6 Aug 2009 17:39:55 +0000 (-0300) Subject: KVM: MMU: increase per-vcpu rmap cache alloc size X-Git-Tag: v2.6.27.32~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bbd18645e02de44d024e738bb1469ef0977f7f6;p=pandora-kernel.git KVM: MMU: increase per-vcpu rmap cache alloc size (cherry picked from commit c41ef344de212bd918f7765af21b5008628c03e0) 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed