KVM: MMU: Optimize guest page table walk
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Thu, 21 Apr 2011 15:34:44 +0000 (00:34 +0900)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:39:38 +0000 (08:39 -0400)
This patch optimizes the guest page table walk by using get_user()
instead of copy_from_user().

With this patch applied, paging64_walk_addr_generic() has become
about 0.5us to 1.0us faster on my Phenom II machine with NPT on.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found