Re: [PATCH v2 2/5] KVM MMU: fix kvm_mmu_zap_page() and its calling path

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marcelo Tosatti
Date: Thursday, April 15, 2010 - 10:54 am

On Fri, Apr 16, 2010 at 09:25:03PM +0800, Xiao Guangrong wrote:

I meant to check for list_empty in kvm_mmu_change_mmu_pages, instead of
relying on the count returned by kvm_mmu_zap_page. Similarly to what 
__kvm_mmu_free_some_pages does.

Checking here is not needed because the pages returned in the array 
will not be zapped (mmu_lock is held).

Applied 1, 4 and 5 (so please regenerate against kvm.git -next branch),
thanks.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v2 2/5] KVM MMU: fix kvm_mmu_zap_page() and its ..., Marcelo Tosatti, (Thu Apr 15, 10:54 am)
[PATCH v2 1/5] KVM MMU: remove unused struct, Xiao Guangrong, (Fri Apr 16, 6:23 am)
[PATCH v2 3/5] KVM MMU: cleanup for restart hlist walking, Xiao Guangrong, (Fri Apr 16, 6:26 am)