Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142241314
D46381.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
664 B
Referenced Files
None
Subscribers
None
D46381.diff
View Options
diff --git a/sys/sys/buf_ring.h b/sys/sys/buf_ring.h
--- a/sys/sys/buf_ring.h
+++ b/sys/sys/buf_ring.h
@@ -116,7 +116,7 @@
}
continue;
}
- } while (!atomic_cmpset_acq_32(&br->br_prod_head, prod_head, prod_next));
+ } while (!atomic_cmpset_32(&br->br_prod_head, prod_head, prod_next));
prod_idx = prod_head & mask;
#ifdef DEBUG_BUFRING
if (br->br_ring[prod_idx] != NULL)
@@ -163,7 +163,7 @@
critical_exit();
return (NULL);
}
- } while (!atomic_cmpset_acq_32(&br->br_cons_head, cons_head, cons_next));
+ } while (!atomic_cmpset_32(&br->br_cons_head, cons_head, cons_next));
cons_idx = cons_head & mask;
buf = br->br_ring[cons_idx];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 5:25 PM (19 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27713320
Default Alt Text
D46381.diff (664 B)
Attached To
Mode
D46381: buf_ring: Remove unneeded memory barriers
Attached
Detach File
Event Timeline
Log In to Comment