projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae6200b
)
KVM: MMU: Set shadow pte atomically in mmu_pte_write_zap_pte()
author
Izik Eidus
<izike@qumranet.com>
Sun, 23 Sep 2007 10:30:19 +0000
(12:30 +0200)
committer
Avi Kivity
<avi@qumranet.com>
Mon, 22 Oct 2007 10:03:28 +0000
(12:03 +0200)
Setting shadow page table entry should be set atomicly using set_shadow_pte().
Signed-off-by: Izik Eidus <izike@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/mmu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/kvm/mmu.c
b/drivers/kvm/mmu.c
index 6d84d30f5ed00aea64d11214ead90a15fcbb1ded..71716182d59dd542d2590fb9c7f10891be2d3f55 100644
(file)
--- a/
drivers/kvm/mmu.c
+++ b/
drivers/kvm/mmu.c
@@
-1088,7
+1088,7
@@
static void mmu_pte_write_zap_pte(struct kvm_vcpu *vcpu,
mmu_page_remove_parent_pte(child, spte);
}
}
-
*spte = 0
;
+
set_shadow_pte(spte, 0)
;
kvm_flush_remote_tlbs(vcpu->kvm);
}