diff options
-rw-r--r-- | sys/net/netisr.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/net/netisr.c b/sys/net/netisr.c index ee2c6426..ca2a6cb 100644 --- a/sys/net/netisr.c +++ b/sys/net/netisr.c @@ -53,10 +53,11 @@ #include <net/if_var.h> #include <net/netisr.h> -/* - * XXX this is a temporary measure to allow folks to - * XXX disable Giant locking in the network code without - * XXX recompiling--in case of problems. +/* + * debug_mpsafenet controls network subsystem-wide use of the Giant lock, + * from system calls down to interrupt handlers. It can be changed only + * via a tunable at boot, not at run-time, due to the complexity of + * unwinding. */ int debug_mpsafenet = 0; TUNABLE_INT("debug.mpsafenet", &debug_mpsafenet); |