Page MenuHomeFreeBSD

LinuxKPI: add DEFINE_LOCK_GUARD_0 for rcu
ClosedPublic

Authored by bz on Aug 21 2025, 8:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 16, 8:05 AM
Unknown Object (File)
Mon, Sep 14, 6:25 AM
Unknown Object (File)
Fri, Sep 11, 9:29 AM
Unknown Object (File)
Thu, Sep 10, 12:50 AM
Unknown Object (File)
Tue, Sep 8, 9:17 PM
Unknown Object (File)
Tue, Sep 8, 8:40 AM
Unknown Object (File)
Mon, Sep 7, 1:27 PM
Unknown Object (File)
Thu, Sep 3, 6:44 PM
Subscribers

Details

Summary

This adds guard support for non-real-types like rcu locking meaning
that we need to keep the lock state separately ourselves. _T is still
special and needs to be updated. Given it may not be used it needs
an unused attribute (we are using the LinuxKPI maybe_unused which
indeed is more expressive in this case).

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable