rculfhash: Ensure future-proof memory barrier semantic consistency
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 May 2012 21:09:46 +0000 (17:09 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 May 2012 21:09:46 +0000 (17:09 -0400)
commit196f4fab9bf26c48bc318ac2ff985469c4f62c7e
treee6053a1eab877c68be6c48d6f7cb195a9deeb09f
parent42e83919d54e7dc45d11b99a957b436403d16b68
rculfhash: Ensure future-proof memory barrier semantic consistency

Use cmm_smp_mb__before_uatomic_or() prior to the uatomic_or() in
_rcu_lfht_del() to ensure correct memory barrier semantic when we relax
(in the future) the barrier implementation of some architectures.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
rculfhash.c
This page took 0.024893 seconds and 4 git commands to generate.