]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitcd5998ebfbc9e6cb44408efa217c15d7eea13675
treed0ec4fa1d772c385ea71a1d5a5aa0646710ca3f7
parent18b13e5457041429af3974afd52f647c3a5465dd
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