Use relaxed atomic operations for obsolete_tw_btree_count, checkpoint_cleanup_obsolete_tw_pages, and eviction_obsolete_tw_pages variables. They are only used as a hint for some heuristics. Therefore, memory ordering of the variables doesn't matter for correctness. In addition, all the reads of the variables use relaxed ordering. Thus, using stronger ordering at the write side doesn't make sense.
Use relaxed atomic operations for obsolete_tw_btree_count, checkpoint_cleanup_obsolete_tw_pages, and eviction_obsolete_tw_pages
- Assignee:
-
Chenhao Qu
- Reporter:
-
Chenhao Qu
- Votes:
-
0 Vote for this issue - Watchers:
-
1 Start watching this issue
- Created:
- Updated:
- Resolved: