diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-07-18 21:50:22 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-07-18 21:50:22 +0000 |
commit | c3ae9c5291e5203002f6b2eb91012f528290a055 (patch) | |
tree | af997cb657c04b230830adf667614808f5b8c815 /sys/net/netisr.c | |
parent | b9839954ba9ae0dbfb49b23cee10fde85c40f9e2 (diff) | |
download | FreeBSD-src-c3ae9c5291e5203002f6b2eb91012f528290a055.zip FreeBSD-src-c3ae9c5291e5203002f6b2eb91012f528290a055.tar.gz |
Comment clarifying debug_mpsafenet.
Diffstat (limited to 'sys/net/netisr.c')
-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); |