diff options
author | antoine <antoine@FreeBSD.org> | 2008-08-23 12:40:07 +0000 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2008-08-23 12:40:07 +0000 |
commit | d4ceeb8daaa8fac2179d8cbf275d1e05ab67c564 (patch) | |
tree | 24f939576b0f3fb7a1d967cfbb2a4a96172aa9cf /sys/vm | |
parent | 346004ece8d109a52c6986565142b0ab8cb7df0d (diff) | |
download | FreeBSD-src-d4ceeb8daaa8fac2179d8cbf275d1e05ab67c564.zip FreeBSD-src-d4ceeb8daaa8fac2179d8cbf275d1e05ab67c564.tar.gz |
Remove unused variable nosleepwithlocks.
PR: 126609
Submitted by: Mateusz Guzik
MFC after: 1 month
X-MFC: to stable/7 only, this variable is still used in stable/6
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/uma_core.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index bf00d56..d9e1d8c 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -249,13 +249,6 @@ void uma_print_stats(void); static int sysctl_vm_zone_count(SYSCTL_HANDLER_ARGS); static int sysctl_vm_zone_stats(SYSCTL_HANDLER_ARGS); -#ifdef WITNESS -static int nosleepwithlocks = 1; -#else -static int nosleepwithlocks = 0; -#endif -SYSCTL_INT(_debug, OID_AUTO, nosleepwithlocks, CTLFLAG_RW, &nosleepwithlocks, - 0, "Convert M_WAITOK to M_NOWAIT to avoid lock-held-across-sleep paths"); SYSINIT(uma_startup3, SI_SUB_VM_CONF, SI_ORDER_SECOND, uma_startup3, NULL); SYSCTL_PROC(_vm, OID_AUTO, zone_count, CTLFLAG_RD|CTLTYPE_INT, |