Page MenuHomeFreeBSD

linuxkpi: refcount: Use atomic_t directly
ClosedPublic

Authored by manu on Wed, May 15, 9:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 22, 4:07 PM
Unknown Object (File)
Wed, May 22, 6:39 AM
Unknown Object (File)
Sat, May 18, 8:36 PM
Unknown Object (File)
Sat, May 18, 5:05 AM
Unknown Object (File)
Thu, May 16, 8:28 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