]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: Fix torn shadow pte
authorAvi Kivity <avi@qumranet.com>
Fri, 22 Aug 2008 16:19:38 +0000 (19:19 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 25 Aug 2008 14:24:27 +0000 (17:24 +0300)
commit85677961768cd5a8c9936adb9384f0fe16cd2eab
treed0ec4fa1d772c385ea71a1d5a5aa0646710ca3f7
parent136531c4bcc92c16eee4551508eba7cac94cc84a
KVM: MMU: Fix torn shadow pte

The shadow code assigns a pte directly in one place, which is nonatomic on
i386 can can cause random memory references.  Fix by using an atomic setter.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/paging_tmpl.h