From: Mathieu Desnoyers Date: Mon, 5 Dec 2016 14:39:16 +0000 (-0500) Subject: Cleanup: remove cmm_wmb() from rcu_xchg_pointer and rcu_cmpxchg_pointer X-Git-Tag: v0.10.0~14 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=2f10494ace5729ad4c834d57f4960b48b09877f6;hp=2f10494ace5729ad4c834d57f4960b48b09877f6;p=userspace-rcu.git Cleanup: remove cmm_wmb() from rcu_xchg_pointer and rcu_cmpxchg_pointer Both rcu_xchg_pointer() and rcu_cmpxchg_pointer() imply both release and acquire barriers. Therefore, the extra cmm_wmb() is redundant and can be removed. Signed-off-by: Mathieu Desnoyers ---