Page MenuHomeFreeBSD

buf_ring: Use atomic accesses for head/tail values
ClosedPublic

Authored by andrew on Aug 20 2024, 2:14 PM.
Tags
None
Referenced Files
F116134134: D46380.diff
Fri, May 2, 8:53 PM
Unknown Object (File)
Tue, Apr 29, 7:46 AM
Unknown Object (File)
Fri, Apr 25, 4:29 AM
Unknown Object (File)
Wed, Apr 23, 5:49 AM
Unknown Object (File)
Sat, Apr 19, 2:10 AM
Unknown Object (File)
Mar 13 2025, 5:04 AM
Unknown Object (File)
Feb 13 2025, 7:20 AM
Unknown Object (File)
Feb 12 2025, 10:55 AM
Subscribers
None

Details

Summary

Use explicit atomic load/store operations for all producer and consumer
head and tail accesses. This allows us to remove the volatile
annotation from these variables.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59106
Build 55993: arc lint + arc unit