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)
Sat, May 30, 11:13 PM
Unknown Object (File)
Sat, May 30, 9:36 AM
Unknown Object (File)
May 4 2026, 2:21 AM
Unknown Object (File)
Apr 28 2026, 11:51 PM
Unknown Object (File)
Apr 28 2026, 12:44 PM
Unknown Object (File)
Apr 28 2026, 11:56 AM
Unknown Object (File)
Apr 22 2026, 11:58 PM
Unknown Object (File)
Apr 21 2026, 10:01 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 Not Applicable
Unit
Tests Not Applicable