summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2004-10-09 18:51:32 +0000
committergreen <green@FreeBSD.org>2004-10-09 18:51:32 +0000
commit76d153d5cade06f73d4e0f5fcfd11070e73a09f0 (patch)
treec29d48f1af0804442b8e338ea1bf4972d3f34528 /sys/vm
parent3725fb7edab8b20e1c16ac99e6bda426e0074962 (diff)
downloadFreeBSD-src-76d153d5cade06f73d4e0f5fcfd11070e73a09f0.zip
FreeBSD-src-76d153d5cade06f73d4e0f5fcfd11070e73a09f0.tar.gz
In the previous revision, I did not intend to change the default value
of "nosleepwithlocks." Submitted by: ru
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/uma_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c
index c4c70de..569934b 100644
--- a/sys/vm/uma_core.c
+++ b/sys/vm/uma_core.c
@@ -232,7 +232,7 @@ void uma_print_stats(void);
static int sysctl_vm_zone(SYSCTL_HANDLER_ARGS);
#ifdef WITNESS
-static int nosleepwithlocks = 0;
+static int nosleepwithlocks = 1;
SYSCTL_INT(_debug, OID_AUTO, nosleepwithlocks, CTLFLAG_RW, &nosleepwithlocks,
0, "Convert M_WAITOK to M_NOWAIT to avoid lock-held-across-sleep paths");
#else
OpenPOWER on IntegriCloud