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
F97720616: D46380.diff
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)
Sat, Sep 7, 5:28 PM
Unknown Object (File)
Sat, Sep 7, 6:52 AM
Unknown Object (File)
Fri, Sep 6, 3:12 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