public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>, kvm@vger.kernel.org
Subject: Re: [PATCH v4 0/8] Simplify and fix fetch()
Date: Tue, 13 Jul 2010 21:09:39 -0300	[thread overview]
Message-ID: <20100714000939.GA10858@amt.cnet> (raw)
In-Reply-To: <1279020431-31431-1-git-send-email-avi@redhat.com>

On Tue, Jul 13, 2010 at 02:27:03PM +0300, Avi Kivity wrote:
> fetch() has become a monster, with a zillion continues, breaks, and gotos.
> Simplify it before Xiao adds even more.
> 
> Also fix the gpte validation race.
> 
> Avi Kivity (8):
>   KVM: MMU: Add link_shadow_page() helper
>   KVM: MMU: Use __set_spte to link shadow pages
>   KVM: MMU: Add drop_large_spte() helper
>      v2: s/drop_spte_if_large/drop_large_spte/g
>   KVM: MMU: Add validate_direct_spte() helper
>   KVM: MMU: Add gpte_changed() helper
>      v4: change name to gpte_changed(), move error handling back to fetch()
>      v2: add comments
>          make validate_indirect_spte() look at spte in its own level, not one
>          below (but adjust caller so no net effect)
>   KVM: MMU: Simplify spte fetch() function
>      v2: add comments
>          update 'sptep' and 'level' for last level
>   KVM: MMU: Validate all gptes during fetch, not just those used for
>     new pages
>      v4: fix freeing of incorrect shadow page on changed gpte
>      v3: fix top-level gpte validation oops
>      v2: validate top-level gpte (in root page)
>   KVM: MMU: Eliminate redundant temporaries in FNAME(fetch)
>      v2: new patch
> 
>  arch/x86/kvm/mmu.c         |   41 ++++++++++++
>  arch/x86/kvm/paging_tmpl.h |  150 ++++++++++++++++++++++----------------------
>  2 files changed, 115 insertions(+), 76 deletions(-)

Applied, thanks.


      parent reply	other threads:[~2010-07-14  0:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13 11:27 [PATCH v4 0/8] Simplify and fix fetch() Avi Kivity
2010-07-13 11:27 ` [PATCH v4 1/8] KVM: MMU: Add link_shadow_page() helper Avi Kivity
2010-07-13 11:27 ` [PATCH v4 2/8] KVM: MMU: Use __set_spte to link shadow pages Avi Kivity
2010-07-13 11:27 ` [PATCH v4 3/8] KVM: MMU: Add drop_large_spte() helper Avi Kivity
2010-07-13 11:27 ` [PATCH v4 4/8] KVM: MMU: Add validate_direct_spte() helper Avi Kivity
2010-07-13 11:27 ` [PATCH v4 5/8] KVM: MMU: Add gpte_valid() helper Avi Kivity
2010-07-13 11:27 ` [PATCH v4 6/8] KVM: MMU: Simplify spte fetch() function Avi Kivity
2010-07-13 11:27 ` [PATCH v4 7/8] KVM: MMU: Validate all gptes during fetch, not just those used for new pages Avi Kivity
2010-07-13 11:27 ` [PATCH v4 8/8] KVM: MMU: Eliminate redundant temporaries in FNAME(fetch) Avi Kivity
2010-07-13 11:50 ` [PATCH v4 0/8] Simplify and fix fetch() Avi Kivity
2010-07-14  0:09 ` Marcelo Tosatti [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100714000939.GA10858@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=xiaoguangrong@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox