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)
Sun, Oct 12, 12:26 PM
Unknown Object (File)
Sun, Oct 12, 12:26 PM
Unknown Object (File)
Sun, Oct 12, 12:26 PM
Unknown Object (File)
Sun, Oct 12, 5:38 AM
Unknown Object (File)
Sun, Oct 12, 1:29 AM
Unknown Object (File)
Sun, Oct 5, 5:50 PM
Unknown Object (File)
Wed, Sep 24, 3:47 AM
Unknown Object (File)
Sat, Sep 20, 12:18 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 Not Applicable
Unit
Tests Not Applicable