]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: do not need atomicly to set/clear spte
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 11 Jul 2011 19:31:28 +0000 (03:31 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Jul 2011 08:50:37 +0000 (11:50 +0300)
commita7a94ebc967661a8d8769df6770f9daacf24a505
tree1e858d649eb86f4e31adfa8233ff16a34268cf2c
parent6c95316035022e01a7784720399e0869a4ef89db
KVM: MMU: do not need atomicly to set/clear spte

Now, the spte is just from nonprsent to present or present to nonprsent, so
we can use some trick to set/clear spte non-atomicly as linux kernel does

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c