svn commit: r358283 - head/sys/geom/eli

Pawel Biernacki kaktus at FreeBSD.org
Mon Feb 24 10:42:58 UTC 2020


Author: kaktus
Date: Mon Feb 24 10:42:56 2020
New Revision: 358283
URL: https://svnweb.freebsd.org/changeset/base/358283

Log:
  Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (12 of many)
  
  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.
  
  Approved by:	kib (mentor, blanket)
  Differential Revision:	https://reviews.freebsd.org/D23637

Modified:
  head/sys/geom/eli/g_eli.c

Modified: head/sys/geom/eli/g_eli.c
==============================================================================
--- head/sys/geom/eli/g_eli.c	Mon Feb 24 10:42:37 2020	(r358282)
+++ head/sys/geom/eli/g_eli.c	Mon Feb 24 10:42:56 2020	(r358283)
@@ -63,7 +63,8 @@ FEATURE(geom_eli, "GEOM crypto module");
 MALLOC_DEFINE(M_ELI, "eli data", "GEOM_ELI Data");
 
 SYSCTL_DECL(_kern_geom);
-SYSCTL_NODE(_kern_geom, OID_AUTO, eli, CTLFLAG_RW, 0, "GEOM_ELI stuff");
+SYSCTL_NODE(_kern_geom, OID_AUTO, eli, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
+    "GEOM_ELI stuff");
 static int g_eli_version = G_ELI_VERSION;
 SYSCTL_INT(_kern_geom_eli, OID_AUTO, version, CTLFLAG_RD, &g_eli_version, 0,
     "GELI version");


More information about the svn-src-head mailing list