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
F103000219: D46380.id144046.diff
Tue, Nov 19, 4:23 PM
F102995526: D46380.diff
Tue, Nov 19, 3:02 PM
Unknown Object (File)
Thu, Oct 31, 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
Unknown Object (File)
Sep 30 2024, 11:26 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