commit | 6e2ca7d1802bf8ed9908435e34daa116662e7790 | [log] [tgz] |
---|---|---|
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | Fri Apr 22 00:34:44 2011 +0900 |
committer | Avi Kivity <avi@redhat.com> | Sun May 22 08:39:38 2011 -0400 |
tree | 802f56f655246d21cf722e06353bd2d30011252a | |
parent | 40e19b519caeb93def89c45082d776fccfb96dbb [diff] |
KVM: MMU: Optimize guest page table walk 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>