Subject: [PATCH][TPR OPT] Increase rmap_desc_cache From: Anthony Liguori Cc: Avi Kivity Using kvm-test to replay the second stage of a WinXP Pro install, I can reliably trigger a BUG_ON() in the mmu. It usually happens during the first run. With this patch applied, I've been able to replay the install for the past few hours (probably 10 or so installs) without hitting the BUG_ON(). Signed-off-by: Anthony Liguori --- a/kernel/mmu.c 2007-10-25 12:36:18.000000000 -0500 +++ b/kernel/mmu.c 2007-10-25 17:09:55.000000000 -0500 @@ -280,7 +280,7 @@ if (r) goto out; r = mmu_topup_memory_cache(&vcpu->mmu_rmap_desc_cache, - rmap_desc_cache, 1); + rmap_desc_cache, 2); if (r) goto out; r = mmu_topup_memory_cache_page(&vcpu->mmu_page_cache, 8);