Page MenuHomeFreeBSD

linuxkpi: refcount: Use atomic_t directly
ClosedPublic

Authored by manu on May 15 2024, 9:55 AM.
Tags
None
Referenced Files
F144461251: D45207.id138567.diff
Sun, Feb 8, 1:43 PM
F144416409: D45207.id138601.diff
Sun, Feb 8, 8:12 AM
Unknown Object (File)
Sat, Jan 31, 1:15 AM
Unknown Object (File)
Nov 22 2025, 9:23 AM
Unknown Object (File)
Nov 22 2025, 9:08 AM
Unknown Object (File)
Nov 22 2025, 9:05 AM
Unknown Object (File)
Nov 22 2025, 9:03 AM
Unknown Object (File)
Nov 21 2025, 1:49 PM

Details

Summary

Simply use a typedef for refcount_t on atomic_t, this allow us
to use a nativ type and also changing struct kref to directly use
a refcount_t like Linux.

Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable