Page MenuHomeFreeBSD

Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (M of N)
ClosedPublic

Authored by kaktus on Feb 11 2020, 9:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 17, 5:17 AM
Unknown Object (File)
Sat, Mar 7, 7:02 AM
Unknown Object (File)
Thu, Mar 5, 5:09 PM
Unknown Object (File)
Fri, Feb 27, 8:33 AM
Unknown Object (File)
Fri, Feb 27, 6:48 AM
Unknown Object (File)
Sun, Feb 22, 2:32 AM
Unknown Object (File)
Dec 14 2025, 12:58 AM
Unknown Object (File)
Dec 11 2025, 11:26 AM
Subscribers

Details

Summary

r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly marked). Use it in preparation for a general review of all nodes.
This is non-functional change that adds annotations to SYSCTL_NODE and SYSCTL_PROC nodes using one of the soon-to-be-required flags.

You’re asked for a review based on src/MAINTAINERS entry.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I have no problems with this change from an x11 perspective. However, please give @hselasky the chance to chime in, since he knows much more about the lkpi than I do.

This revision is now accepted and ready to land.Feb 12 2020, 10:46 AM

The LinuxKPI does not depend on Giant. All instances of SYSCTL's in the LinuxKPI can be made MPSAFE.