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)
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
Unknown Object (File)
Sep 30 2024, 12:28 PM
Unknown Object (File)
Sep 18 2024, 5:18 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