Page MenuHomeFreeBSD

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

Authored by kaktus on Feb 11 2020, 9:16 PM.
Tags
None
Referenced Files
F154402139: D23640.id68252.diff
Tue, Apr 28, 8:57 AM
Unknown Object (File)
Mon, Apr 27, 8:57 AM
Unknown Object (File)
Sun, Apr 26, 7:43 PM
Unknown Object (File)
Sun, Apr 26, 5:04 AM
Unknown Object (File)
Sat, Apr 25, 7:24 AM
Unknown Object (File)
Mon, Apr 20, 2:42 PM
Unknown Object (File)
Mon, Apr 20, 7:34 AM
Unknown Object (File)
Mon, Apr 6, 8:24 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

Thanks! Why are some of the those nodes marked as NEEDGIANT though?

Because they weren't marked as MPSAFE before :-) but after checking I think we can assume they are MPSAFE.

Fine with me. I suggest to wait a day or two for trasz (I assume you grouped changes to his code in this review).

This revision is now accepted and ready to land.Feb 13 2020, 5:00 PM

Looks fine now, thanks :-)