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)
Sun, Jan 19, 12:13 AM
Unknown Object (File)
Mon, Jan 13, 5:08 PM
Unknown Object (File)
Dec 16 2024, 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

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