summaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorMarcelo Tosatti <marcelo@kvack.org>2007-12-11 19:12:27 -0500
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:53:21 +0200
commit7819026eefee53eaaac3fdce1a2f157c7ea943fe (patch)
treee5ee690406a8ebe381ce5d712f010a5a0c706c4c /net/unix/sysctl_net_unix.c
parent1d075434149c38d457c30d1f11d9c39210b0bb79 (diff)
downloadkernel-crypto-7819026eefee53eaaac3fdce1a2f157c7ea943fe.tar.gz
kernel-crypto-7819026eefee53eaaac3fdce1a2f157c7ea943fe.tar.xz
kernel-crypto-7819026eefee53eaaac3fdce1a2f157c7ea943fe.zip
KVM: MMU: Fix SMP shadow instantiation race
There is a race where VCPU0 is shadowing a pagetable entry while VCPU1 is updating it, which results in a stale shadow copy. Fix that by comparing the contents of the cached guest pte with the current guest pte after write-protecting the guest pagetable. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions