From: Avi Kivity Date: Mon, 15 Mar 2010 11:59:55 +0000 (+0200) Subject: KVM: Don't follow an atomic operation by a non-atomic one X-Git-Tag: v2.6.35-rc1~436^2~180 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a5f48f666ccc4ffdbc54241d9cab06806ed7922;p=pandora-kernel.git KVM: Don't follow an atomic operation by a non-atomic one Currently emulated atomic operations are immediately followed by a non-atomic operation, so that kvm_mmu_pte_write() can be invoked. This updates the mmu but undoes the whole point of doing things atomically. Fix by only performing the atomic operation and the mmu update, and avoiding the non-atomic write. Signed-off-by: Avi Kivity Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed