diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-02-16 09:23:31 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-12 16:12:47 +0100 |
commit | 77a8b8462b02a10aea5cad389a8f9260f79ede36 (patch) | |
tree | 5f337abf53ab50994a45f6a302f7da8ee341e01a /.gdbinit | |
parent | 729c0ddd3cdf16973d850b1ee7c5234a1e4dddbb (diff) |
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 '.gdbinit')
0 files changed, 0 insertions, 0 deletions