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)
Dec 9 2024, 4:09 PM
Unknown Object (File)
Nov 30 2024, 3:37 PM
Unknown Object (File)
Nov 14 2024, 7:16 PM
Unknown Object (File)
Nov 7 2024, 2:14 PM
Unknown Object (File)
Oct 26 2024, 1:51 AM
Unknown Object (File)
Oct 25 2024, 4:18 PM
Unknown Object (File)
Oct 20 2024, 6:52 AM
Unknown Object (File)
Oct 7 2024, 8:29 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.