summary refs log tree commit diff stats
path: root/hw/mips/mips_jazz.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-02-16 09:23:31 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2018-03-12 16:12:47 +0100
commit77a8b8462b02a10aea5cad389a8f9260f79ede36 (patch)
tree5f337abf53ab50994a45f6a302f7da8ee341e01a /hw/mips/mips_jazz.c
parent729c0ddd3cdf16973d850b1ee7c5234a1e4dddbb (diff)
downloadfocaccia-qemu-77a8b8462b02a10aea5cad389a8f9260f79ede36.tar.gz
focaccia-qemu-77a8b8462b02a10aea5cad389a8f9260f79ede36.zip
rcu: make memory barriers more explicit
Prepare for introducing smp_mb_placeholder() and smp_mb_global().
The new smp_mb() in synchronize_rcu() is not strictly necessary, since
the first atomic_mb_set for rcu_gp_ctr provides the required ordering.
However, synchronize_rcu is not performance critical, and it *will* be
necessary to introduce a smp_mb_global before calling wait_for_readers().

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/mips/mips_jazz.c')
0 files changed, 0 insertions, 0 deletions