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, Feb 13, 7:20 AM
Unknown Object (File)
Wed, Feb 12, 10:55 AM
Unknown Object (File)
Jan 26 2025, 8:26 AM
Unknown Object (File)
Jan 26 2025, 7:33 AM
Unknown Object (File)
Jan 9 2025, 11:48 PM
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
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