[PATCH v8 10/11] KVM: MMU: reclaim the zapped-obsolete page first

2013-05-30 Thread Xiao Guangrong
As Marcelo pointed out that | "(retention of large number of pages while zapping) | can be fatal, it can lead to OOM and host crash" We introduce a list, kvm->arch.zapped_obsolete_pages, to link all the pages which are deleted from the mmu cache but not actually freed. When page reclaiming is

[PATCH v8 10/11] KVM: MMU: reclaim the zapped-obsolete page first

2013-05-30 Thread Xiao Guangrong
As Marcelo pointed out that | (retention of large number of pages while zapping) | can be fatal, it can lead to OOM and host crash We introduce a list, kvm-arch.zapped_obsolete_pages, to link all the pages which are deleted from the mmu cache but not actually freed. When page reclaiming is