Page MenuHomeFreeBSD

D23709.diff
No OneTemporary

D23709.diff

Index: sys/sys/refcount.h
===================================================================
--- sys/sys/refcount.h
+++ sys/sys/refcount.h
@@ -198,7 +198,7 @@
return (false);
if (__predict_false(REFCOUNT_SATURATED(old)))
return (true);
- if (atomic_fcmpset_int(count, &old, old - 1))
+ if (atomic_fcmpset_rel_int(count, &old, old - 1))
return (true);
}
}

File Metadata

Mime Type
text/plain
Expires
Thu, Sep 10, 7:08 AM (34 m, 25 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38621063
Default Alt Text
D23709.diff (376 B)

Event Timeline