[urcu] Replaced RMW atomics with atomic load/store in URCU read-side lock/unlock.
authorkhizmax <libcds.dev@gmail.com>
Sat, 22 Apr 2017 16:31:36 +0000 (19:31 +0300)
committerkhizmax <libcds.dev@gmail.com>
Sat, 22 Apr 2017 16:31:36 +0000 (19:31 +0300)
commit594d091c1aa21687f898bee9ab8765c9ad5954c5
tree51d204a35b9452f0ef661dcd139123746d391eb9
parent9f9f9f1695656ca21d618b2f88ccd5b4f76218f7
[urcu] Replaced RMW atomics with atomic load/store in URCU read-side lock/unlock.
Fixing the barriers speed up a micro-benchmark (16 threads accessing an RCU-protected split-list set) by 30-40%. Thanks to Todd Lipcon who found this improvement
cds/urcu/details/base.h
cds/urcu/details/gp.h
cds/urcu/details/sh.h
change.log
thanks