|
.compare_exchange(false, true, Ordering::SeqCst, Ordering::SeqCst) |
This is caught by AtomVChecker :
{
"bug_kind": "AtomicCorrelationViolation",
"possibility": "Possibly",
"diagnosis": {
"atomic": "percpu/src/imp.rs:59:10: 59:75"
},
"explanation": "Using an atomic operation with a stronger memory ordering than necessary can lead to unnecessary performance overhead.
Using Relaxed is sufficient to ensure the correctness of the program"
}
Report
Report from os-checker & AtomVChecker:

percpu/percpu/src/imp.rs
Line 59 in 89c8a54
This is caught by AtomVChecker :
Report
Report from os-checker & AtomVChecker: