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, May 17, 11:00 PM
Unknown Object (File)
Sun, May 17, 11:00 PM
Unknown Object (File)
Sun, May 17, 10:45 PM
Unknown Object (File)
Wed, May 13, 11:30 AM
Unknown Object (File)
Tue, May 5, 7:01 PM
Unknown Object (File)
Tue, May 5, 2:38 PM
Unknown Object (File)
Tue, May 5, 12:42 PM
Unknown Object (File)
Tue, May 5, 12:07 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