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
Unknown Object (File)
Mon, May 4, 2:21 AM
Unknown Object (File)
Tue, Apr 28, 11:51 PM
Unknown Object (File)
Tue, Apr 28, 12:44 PM
Unknown Object (File)
Tue, Apr 28, 11:56 AM
Unknown Object (File)
Wed, Apr 22, 11:58 PM
Unknown Object (File)
Apr 21 2026, 10:01 AM
Unknown Object (File)
Apr 19 2026, 6:40 AM
Unknown Object (File)
Apr 6 2026, 6:45 PM
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 Not Applicable
Unit
Tests Not Applicable