urcu lfstack: pop needs rcu read lock
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 25 Aug 2010 15:16:34 +0000 (11:16 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 25 Aug 2010 15:16:34 +0000 (11:16 -0400)
The pop side needs to hold the RCU read lock to deal with ABA problem.
The push side does not need to hold the RCU read lock because even if the next
item is changed to the same value initially read, the stack will still be
consistent.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.025159 seconds and 4 git commands to generate.