projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2a2ac2
)
KVM: MMU: reorganize struct kvm_shadow_walk_iterator
author
Xiao Guangrong
<xiaoguangrong@cn.fujitsu.com>
Mon, 11 Jul 2011 19:32:54 +0000
(
03:32
+0800)
committer
Avi Kivity
<avi@redhat.com>
Sun, 24 Jul 2011 08:50:39 +0000
(11:50 +0300)
Reorganize it for good using the cache
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/mmu.c
b/arch/x86/kvm/mmu.c
index 374530a478a428ce6f80180115d1df58bc4ab594..4b1aa6772147e9bc48cbb8a70316c7fd27924b83 100644
(file)
--- a/
arch/x86/kvm/mmu.c
+++ b/
arch/x86/kvm/mmu.c
@@
-172,8
+172,8
@@
struct pte_list_desc {
struct kvm_shadow_walk_iterator {
u64 addr;
hpa_t shadow_addr;
- int level;
u64 *sptep;
+ int level;
unsigned index;
};