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
F165250892: D23631.id68363.diff
Fri, Aug 7, 4:35 AM
F165250891: D23631.id68143.diff
Fri, Aug 7, 4:35 AM
F165250890: D23631.id.diff
Fri, Aug 7, 4:35 AM
F165250757: D23631.diff
Fri, Aug 7, 4:34 AM
Unknown Object (File)
Thu, Aug 6, 10:49 PM
Unknown Object (File)
Tue, Aug 4, 8:20 AM
Unknown Object (File)
Mon, Aug 3, 9:01 AM
Unknown Object (File)
Wed, Jul 29, 2:10 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.