Xiao Guangrong
85b7059169
KVM: MMU: fix shrinking page from the empty mmu
...
Fix:
[ 3190.059226] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 3190.062224] IP: [<ffffffffa02aac66>] mmu_page_zap_pte+0x10/0xa7 [kvm]
[ 3190.063760] PGD 104f50067 PUD 112bea067 PMD 0
[ 3190.065309] Oops: 0000 [#1 ] SMP DEBUG_PAGEALLOC
[ 3190.066860] CPU 1
[ ...... ]
[ 3190.109629] Call Trace:
[ 3190.111342] [<ffffffffa02aada6>] kvm_mmu_prepare_zap_page+0xa9/0x1fc [kvm]
[ 3190.113091] [<ffffffffa02ab2f5>] mmu_shrink+0x11f/0x1f3 [kvm]
[ 3190.114844] [<ffffffffa02ab25d>] ? mmu_shrink+0x87/0x1f3 [kvm]
[ 3190.116598] [<ffffffff81150c9d>] ? prune_super+0x142/0x154
[ 3190.118333] [<ffffffff8110a4f4>] ? shrink_slab+0x39/0x31e
[ 3190.120043] [<ffffffff8110a687>] shrink_slab+0x1cc/0x31e
[ 3190.121718] [<ffffffff8110ca1d>] do_try_to_free_pages
This is caused by shrinking page from the empty mmu, although we have
checked n_used_mmu_pages, it is useless since the check is out of mmu-lock
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2012-07-03 17:31:50 -03:00
..
2012-06-07 09:52:33 -07:00
2012-03-24 08:18:03 +01:00
2012-05-31 20:53:22 +10:00
2012-06-14 18:16:04 -07:00
2012-06-29 10:29:54 -07:00
2012-06-30 11:11:58 -07:00
2012-07-03 17:31:50 -03:00
2012-01-12 15:44:47 +10:30
2012-06-29 10:29:54 -07:00
2012-03-13 06:24:09 +01:00
2012-06-11 10:54:45 +02:00
2012-04-03 18:01:41 -04:00
2012-02-20 12:48:46 -08:00
2012-05-24 16:02:08 -07:00
2012-06-15 14:53:59 -07:00
2012-04-02 13:53:00 +02:00
2012-05-21 00:02:45 -07:00
2012-05-31 17:49:32 -07:00
2012-06-06 08:54:18 +02:00
2012-06-09 12:51:09 -07:00
2012-03-29 18:12:23 -07:00
2012-04-24 09:50:17 +01:00
2012-06-15 17:17:15 -07:00
2012-01-16 08:21:59 +01:00
2012-05-08 11:41:48 -07:00
2012-06-01 09:11:41 -07:00
2012-03-08 10:57:34 +01:00
2012-01-11 19:13:40 -08:00
2012-05-23 17:08:40 -07:00
2011-04-08 13:01:25 -07:00
2012-04-09 13:59:00 -04:00