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 3, 3:38 AM
Unknown Object (File)
Mon, Sep 30, 11:26 PM
Unknown Object (File)
Mon, Sep 30, 12:28 PM
Unknown Object (File)
Wed, Sep 18, 5:18 PM
Unknown Object (File)
Sat, Sep 14, 3:45 AM
Unknown Object (File)
Sat, Sep 14, 3:04 AM
Unknown Object (File)
Sep 7 2024, 5:28 PM
Unknown Object (File)
Sep 7 2024, 6:52 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