-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
StorEng - Defined Pipeline
-
3
The resolution to WT-10461, which was a bug related to CPUs speculatively executing code was simple, but included a lot of comments describing why the changes were necessary.
It would be useful if the comment(s) mentioned that speculative execution is involved, since ordering that we use in the comments at the moment is ambiguous. Both the compiler and CPUs reorder operations, but only CPUs are speculative.