All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/10] KVM MMU: allow more shadow pages become asynchronous
@ 2010-04-28  3:54 Xiao Guangrong
  2010-04-28 10:37 ` Avi Kivity
  2010-04-28 17:12 ` Marcelo Tosatti
  0 siblings, 2 replies; 3+ messages in thread
From: Xiao Guangrong @ 2010-04-28  3:54 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Marcelo Tosatti, KVM list, LKML

Changlog v3:

Those changes all form Avi's suggestion, thanks.

- use smart way to fix the bug in patch 1
- remove duplicates code in patch 5
- check error code and fix forgot release page in patch 9
- sync shadow pages in a batch instead of one by one

And, there is one TODO thing:
Marker shadow page as unsync at create time avoid write-protect,
this idea is from Avi:

|Another interesting case is to create new shadow pages in the unsync state.
|That can help when the guest starts a short lived process: we can avoid write
|protecting its pagetables completely

I'll send the patch out after this patchset applied.
 
Changlog v2:

- when level is PT_DIRECTORY_LEVEL, the 'offset' should be
  'role.quadrant << 8', thanks Avi for point it out

- keep invlpg code in paging_tmpl.h address Avi's suggestion

- split kvm_sync_page() into kvm_sync_page() and kvm_sync_page_transient()
  to clarify the code address Avi's suggestion



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3 0/10] KVM MMU: allow more shadow pages become asynchronous
  2010-04-28  3:54 [PATCH v3 0/10] KVM MMU: allow more shadow pages become asynchronous Xiao Guangrong
@ 2010-04-28 10:37 ` Avi Kivity
  2010-04-28 17:12 ` Marcelo Tosatti
  1 sibling, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2010-04-28 10:37 UTC (permalink / raw)
  To: Xiao Guangrong; +Cc: Marcelo Tosatti, KVM list, LKML

On 04/28/2010 06:54 AM, Xiao Guangrong wrote:
> Changlog v3:
>    

Reviewed-by: Avi Kivity <avi@redhat.com>

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3 0/10] KVM MMU: allow more shadow pages become asynchronous
  2010-04-28  3:54 [PATCH v3 0/10] KVM MMU: allow more shadow pages become asynchronous Xiao Guangrong
  2010-04-28 10:37 ` Avi Kivity
@ 2010-04-28 17:12 ` Marcelo Tosatti
  1 sibling, 0 replies; 3+ messages in thread
From: Marcelo Tosatti @ 2010-04-28 17:12 UTC (permalink / raw)
  To: Xiao Guangrong; +Cc: Avi Kivity, KVM list, LKML

On Wed, Apr 28, 2010 at 11:54:31AM +0800, Xiao Guangrong wrote:
> Changlog v3:
> 
> Those changes all form Avi's suggestion, thanks.
> 
> - use smart way to fix the bug in patch 1
> - remove duplicates code in patch 5
> - check error code and fix forgot release page in patch 9
> - sync shadow pages in a batch instead of one by one
> 
> And, there is one TODO thing:
> Marker shadow page as unsync at create time avoid write-protect,
> this idea is from Avi:
> 
> |Another interesting case is to create new shadow pages in the unsync state.
> |That can help when the guest starts a short lived process: we can avoid write
> |protecting its pagetables completely
> 
> I'll send the patch out after this patchset applied.
>  
> Changlog v2:
> 
> - when level is PT_DIRECTORY_LEVEL, the 'offset' should be
>   'role.quadrant << 8', thanks Avi for point it out
> 
> - keep invlpg code in paging_tmpl.h address Avi's suggestion
> 
> - split kvm_sync_page() into kvm_sync_page() and kvm_sync_page_transient()
>   to clarify the code address Avi's suggestion

Applied, thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-28 17:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-28  3:54 [PATCH v3 0/10] KVM MMU: allow more shadow pages become asynchronous Xiao Guangrong
2010-04-28 10:37 ` Avi Kivity
2010-04-28 17:12 ` Marcelo Tosatti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.