kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1 v2] KVM: MMU: Use ptep_user for cmpxchg_gpte()
@ 2011-05-01  5:30 Takuya Yoshikawa
  2011-05-01  5:33 ` [PATCH 1/1 " Takuya Yoshikawa
  0 siblings, 1 reply; 9+ messages in thread
From: Takuya Yoshikawa @ 2011-05-01  5:30 UTC (permalink / raw)
  To: avi, mtosatti; +Cc: kvm, yoshikawa.takuya

Changelog v1->v2:
  Added error handling for get_user_pages_fast() failure

Tested with NPT off:

  paging64_walk_addr_generic() {
    get_cr3();
    translate_gpa();
    gfn_to_hva();
    kvm_is_error_hva();
    _cond_resched();
    translate_gpa();
    gfn_to_hva();
    kvm_is_error_hva();
    _cond_resched();
    translate_gpa();
    gfn_to_hva();
    kvm_is_error_hva();
    _cond_resched();
    translate_gpa();
    gfn_to_hva();
    kvm_is_error_hva();
    _cond_resched();
    paging64_cmpxchg_gpte() {
      get_user_pages_fast() {
        gup_pud_range() {
          gup_pte_range();
        }
      }
      kvm_release_page_dirty() {
        kvm_release_pfn_dirty() {
          kvm_set_pfn_dirty();
          kvm_release_pfn_clean() {
            put_page();
          }
        }
      }
    }
    mark_page_dirty();
    translate_gpa();
  }

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

end of thread, other threads:[~2011-05-04 16:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-01  5:30 [PATCH 0/1 v2] KVM: MMU: Use ptep_user for cmpxchg_gpte() Takuya Yoshikawa
2011-05-01  5:33 ` [PATCH 1/1 " Takuya Yoshikawa
2011-05-04 11:16   ` Marcelo Tosatti
2011-05-04 11:44     ` Avi Kivity
2011-05-04 11:58       ` Marcelo Tosatti
2011-05-04 12:11         ` Avi Kivity
2011-05-04 14:00           ` Takuya Yoshikawa
2011-05-04 14:27             ` Avi Kivity
2011-05-04 16:13   ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).