Page MenuHomeFreeBSD

linuxkpi: refcount: Use atomic_t directly
ClosedPublic

Authored by manu on May 15 2024, 9:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 3:22 PM
Unknown Object (File)
Dec 7 2024, 2:50 PM
Unknown Object (File)
Dec 1 2024, 6:41 PM
Unknown Object (File)
Nov 25 2024, 8:54 PM
Unknown Object (File)
Nov 24 2024, 5:15 AM
Unknown Object (File)
Nov 23 2024, 11:58 PM
Unknown Object (File)
Nov 22 2024, 8:42 AM
Unknown Object (File)
Nov 21 2024, 1:51 AM

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