summaryrefslogtreecommitdiffstats
path: root/kernel/cred.c
diff options
context:
space:
mode:
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>2011-04-22 00:34:44 +0900
committerAvi Kivity <avi@redhat.com>2011-05-22 08:39:38 -0400
commit6e2ca7d1802bf8ed9908435e34daa116662e7790 (patch)
tree802f56f655246d21cf722e06353bd2d30011252a /kernel/cred.c
parent40e19b519caeb93def89c45082d776fccfb96dbb (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>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions