Add barriers
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 12 Feb 2009 06:00:00 +0000 (01:00 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 12 Feb 2009 06:00:00 +0000 (01:00 -0500)
commit40e140c9f237bbe8c50d4a5355561139f01afb70
tree648bf5cbe0a952f87b8661bf52030b7c11fdc380
parentae878d0dcc291dba7c5722eed13294195a64409e
Add barriers

Use smp_rmb() is busy-loops to make sure we re-read the variable.
Kick the reader threads we are waiting for after a few loops.
Documents memory ordering in rcu_read_lock().

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu.c
urcu.h
This page took 0.031391 seconds and 4 git commands to generate.