summaryrefslogtreecommitdiffstats
path: root/kernel/ptrace.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-10-25 15:28:53 +0200
committerRusty Russell <rusty@rustcorp.com.au>2009-10-29 08:50:37 +1030
commit2d61ba95034f1abbdec7729d52c740870a5eddb6 (patch)
treeec51d4cba4240af6011f4fabfda06a21532761da /kernel/ptrace.c
parent0b22bd0ba0d500ab40e7673c591c594ec5447342 (diff)
downloadop-kernel-dev-2d61ba95034f1abbdec7729d52c740870a5eddb6.zip
op-kernel-dev-2d61ba95034f1abbdec7729d52c740870a5eddb6.tar.gz
virtio: order used ring after used index read
On SMP guests, reads from the ring might bypass used index reads. This causes guest crashes because host writes to used index to signal ring data readiness. Fix this by inserting rmb before used ring reads. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: stable@kernel.org
Diffstat (limited to 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud