HomeFreeBSD

asmc: Convert driver to CTLFLAG_MPSAFE

Description

asmc: Convert driver to CTLFLAG_MPSAFE

Replace CTLFLAG_NEEDGIANT with CTLFLAG_MPSAFE for all sysctls.
The driver already uses spin mutexes (sc->sc_mtx) for hardware
access protection and does not require the Giant lock.

This improves scalability by allowing concurrent sysctl access
without Giant serialization.

Reviewed by: ngie, adrian
Differential Revision: https://reviews.freebsd.org/D54613

Details

Provenance
guest-seurosAuthored on Feb 13 2026, 3:00 AM
adrianCommitted on Feb 13 2026, 3:00 AM
Reviewer
ngie
Differential Revision
D54613: asmc: Convert driver to CTLFLAG_MPSAFE
Parents
rGafe55ae68e74: cxgbe(4): Fix assertion in timer calibration
Branches
Unknown
Tags
Unknown