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 22 2024, 9:17 PM
Unknown Object (File)
Nov 19 2024, 4:23 PM
Unknown Object (File)
Nov 19 2024, 3:02 PM
Unknown Object (File)
Oct 31 2024, 8:22 AM
Unknown Object (File)
Oct 18 2024, 10:34 AM
Unknown Object (File)
Oct 18 2024, 10:34 AM
Unknown Object (File)
Oct 18 2024, 10:28 AM
Unknown Object (File)
Oct 3 2024, 3:38 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