[PATCH v3 0/5] KVM: MMU: unify and cleanup the code of walking pte list

2013-02-05 Thread Xiao Guangrong
Current code has two ways to walk pte_list, the one is pte_list_walk and the another way is rmap_get_first and rmap_get_next, they have the same logic. This patchset tries to unify the code and also make the code more tidy. Patch 1: KVM: MMU: introduce mmu_spte_establish, which tries to

Re: [PATCH v3 0/5] KVM: MMU: unify and cleanup the code of walking pte list

2013-02-05 Thread Gleb Natapov
On Tue, Feb 05, 2013 at 04:52:35PM +0800, Xiao Guangrong wrote: Current code has two ways to walk pte_list, the one is pte_list_walk and the another way is rmap_get_first and rmap_get_next, they have the same logic. This patchset tries to unify the code and also make the code more tidy.