diff options
| author | Takuya Yoshikawa <[email protected]> | 2011-04-22 00:34:44 +0900 |
|---|---|---|
| committer | Avi Kivity <[email protected]> | 2011-05-22 08:39:38 -0400 |
| commit | 6e2ca7d1802bf8ed9908435e34daa116662e7790 (patch) | |
| tree | 802f56f655246d21cf722e06353bd2d30011252a /tools/perf/scripts/python | |
| 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 <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions