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)
Sun, Nov 16, 7:29 AM
Unknown Object (File)
Mon, Nov 10, 3:16 AM
Unknown Object (File)
Sun, Nov 9, 8:35 AM
Unknown Object (File)
Oct 11 2025, 2:00 PM
Unknown Object (File)
Oct 9 2025, 8:34 PM
Unknown Object (File)
Oct 9 2025, 8:13 PM
Unknown Object (File)
Oct 9 2025, 8:06 PM
Unknown Object (File)
Oct 2 2025, 5:30 PM
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.