From c3ae9c5291e5203002f6b2eb91012f528290a055 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 18 Jul 2004 21:50:22 +0000 Subject: Comment clarifying debug_mpsafenet. --- sys/net/netisr.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'sys') 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 #include -/* - * 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); -- cgit v1.1