projects
/
urcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
4fc06b7
)
urcu lfstack: pop needs rcu read lock
author
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Wed, 25 Aug 2010 15:16:34 +0000
(11:16 -0400)
committer
Mathieu 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.