Page MenuHomeFreeBSD

linuxkpi: refcount: Use atomic_t directly
ClosedPublic

Authored by manu on May 15 2024, 9:55 AM.
Tags
None
Referenced Files
F102662546: D45207.diff
Fri, Nov 15, 12:47 PM
Unknown Object (File)
Mon, Nov 11, 2:31 AM
Unknown Object (File)
Sat, Nov 9, 2:23 AM
Unknown Object (File)
Thu, Nov 7, 11:44 PM
Unknown Object (File)
Tue, Nov 5, 5:30 PM
Unknown Object (File)
Sat, Oct 19, 4:06 PM
Unknown Object (File)
Thu, Oct 17, 9:58 PM
Unknown Object (File)
Oct 16 2024, 8:05 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