Re: [PATCH 6/6] KVM MMU: optimize synchronization shadow pages

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Avi Kivity
Date: Monday, April 12, 2010 - 1:43 am

On 04/12/2010 11:06 AM, Xiao Guangrong wrote:

Does this really need to be global?  Should be per guest.


Locking?


Will this ever happen?  In my experience we usually have a ton of 
unsyncs lying around.


That's counter to the point of unsync.  We only want to sync the minimum 
number of pages - all pages reachable by the new root.  The others we 
want to keep writeable to reduce our fault count.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

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

Messages in current thread:
[PATCH 1/6] KVM MMU: remove unused struct, Xiao Guangrong, (Mon Apr 12, 12:59 am)
[PATCH 4/6] KVM MMU: optimize for writing cr4, Xiao Guangrong, (Mon Apr 12, 1:03 am)
[PATCH 5/6] KVM MMU: reduce kvm_mmu_page size, Xiao Guangrong, (Mon Apr 12, 1:05 am)
[PATCH 6/6] KVM MMU: optimize synchronization shadow pages, Xiao Guangrong, (Mon Apr 12, 1:06 am)
Re: [PATCH 4/6] KVM MMU: optimize for writing cr4, Avi Kivity, (Mon Apr 12, 1:34 am)
Re: [PATCH 5/6] KVM MMU: reduce kvm_mmu_page size, Avi Kivity, (Mon Apr 12, 1:36 am)
Re: [PATCH 6/6] KVM MMU: optimize synchronization shadow pages, Avi Kivity, (Mon Apr 12, 1:43 am)
Re: [PATCH 4/6] KVM MMU: optimize for writing cr4, Xiao Guangrong, (Mon Apr 12, 3:42 am)
Re: [PATCH 5/6] KVM MMU: reduce kvm_mmu_page size, Xiao Guangrong, (Mon Apr 12, 4:11 am)
Re: [PATCH 4/6] KVM MMU: optimize for writing cr4, Avi Kivity, (Mon Apr 12, 4:22 am)
Re: [PATCH 4/6] KVM MMU: optimize for writing cr4, Xiao Guangrong, (Mon Apr 12, 8:07 pm)
Re: [PATCH 4/6] KVM MMU: optimize for writing cr4, Avi Kivity, (Mon Apr 12, 11:42 pm)