diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2004-07-18 21:50:22 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2004-07-18 21:50:22 +0000 |
| commit | 08f85b089e659c5a157dae25cda39ec3b98bcb8b (patch) | |
| tree | af997cb657c04b230830adf667614808f5b8c815 | |
| parent | 9e09a91233100a88a71fc30baf1c95283e6399a8 (diff) | |
Notes
| -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 ee2c64265ac50..ca2a6cb7e4f50 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); |
