projects
/
urcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
128166c
)
Add comment in rcu_add_lock
author
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Mon, 9 Feb 2009 19:05:19 +0000
(14:05 -0500)
committer
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Mon, 9 Feb 2009 19:05:19 +0000
(14:05 -0500)
Comment optimization to make it clear to the reader.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu.h
patch
|
blob
|
blame
|
history
diff --git
a/urcu.h
b/urcu.h
index 9e9fea2b96fafa5c4688a1b1bf696284587df25f..277b7d2f45ae565610e4db9ee89457174fafa667 100644
(file)
--- a/
urcu.h
+++ b/
urcu.h
@@
-199,6
+199,7
@@
static inline void rcu_read_lock(void)
debug_yield_read();
tmp = urcu_active_readers;
debug_yield_read();
+ /* urcu_gp_ctr = RCU_GP_COUNT | (~RCU_GP_CTR_BIT or RCU_GP_CTR_BIT) */
if (likely(!(tmp & RCU_GP_CTR_NEST_MASK)))
urcu_active_readers = urcu_gp_ctr;
else
This page took
0.025274 seconds
and
4
git commands to generate.