]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Make invalidation code more reliable
authorAlexander Graf <agraf@suse.de>
Mon, 2 Aug 2010 19:24:48 +0000 (21:24 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:06 +0000 (10:52 +0200)
commit787aefade4a99a4f7833e8db74804b3bbf570b39
tree2dd5d3e6f3ac88f532b790cc4215d349c8b95790
parent65f69969a1b9533219710e37d93426c9c38ddf96
KVM: PPC: Make invalidation code more reliable

There is a race condition in the pte invalidation code path where we can't
be sure if a pte was invalidated already. So let's move the spin lock around
to get rid of the race.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_mmu_hpte.c