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)
Wed, May 21, 2:15 PM
Unknown Object (File)
Thu, May 15, 7:37 PM
Unknown Object (File)
Tue, May 13, 7:40 PM
Unknown Object (File)
Sat, May 10, 9:51 AM
Unknown Object (File)
May 2 2025, 8:57 PM
Unknown Object (File)
Apr 25 2025, 12:35 AM
Unknown Object (File)
Apr 1 2025, 3:48 PM
Unknown Object (File)
Mar 30 2025, 10:56 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
OSZAR »