From: Mathieu Desnoyers Date: Wed, 25 Aug 2010 15:16:34 +0000 (-0400) Subject: urcu lfstack: pop needs rcu read lock X-Git-Tag: v0.4.7~1 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=4fc06b7fbadc933271cf1b75e03a923486f7247b;hp=4fc06b7fbadc933271cf1b75e03a923486f7247b;p=urcu.git urcu lfstack: pop needs rcu read lock 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 ---