Page MenuHomePhabricator

[RCU] Use strong CAS where apropriate
ClosedPublic

Authored by deadalnix on Jan 16 2019, 23:15.

Details

Summary

Failing the CAS in RCUInfos's destructor require to free and retake a lock, and go over a linked list. We should avoid doing so at it is more expensive that any penality a strong CAS have over a weak one.

The CAS in RCUInfos benefit from being weak as the loop is required anyways and is made of a single store.

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
rcustrong
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4556
Build 7175: Bitcoin ABC Buildbot (legacy)
Build 7174: arc lint + arc unit