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)
Nov 8 2025, 1:56 PM
Unknown Object (File)
Nov 2 2025, 4:05 AM
Unknown Object (File)
Nov 1 2025, 10:20 AM
Unknown Object (File)
Oct 29 2025, 9:05 PM
Unknown Object (File)
Oct 29 2025, 9:02 PM
Unknown Object (File)
Oct 29 2025, 9:01 PM
Unknown Object (File)
Oct 29 2025, 9:01 PM
Unknown Object (File)
Oct 29 2025, 8:48 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