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
F171272147: D52076.id160730.diff
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
Unknown Object (File)
Thu, Sep 3, 9:08 AM
Unknown Object (File)
Tue, Aug 25, 8:35 AM
Unknown Object (File)
Mon, Aug 24, 10:30 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 66414
Build 63297: arc lint + arc unit