summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-11-15 23:57:19 +0000
committerimp <imp@FreeBSD.org>2003-11-15 23:57:19 +0000
commit145dea31472f63f46742779660e8580e03f4ab87 (patch)
tree3d9818a806393e3ea2d487a6b48ceb83e10a40e7 /sys
parent581eef4bce23ebb92ffe273d33725f4c527e76b9 (diff)
downloadFreeBSD-src-145dea31472f63f46742779660e8580e03f4ab87.zip
FreeBSD-src-145dea31472f63f46742779660e8580e03f4ab87.tar.gz
Remove the WITNESS debug code from _STOPEVENT. It has pointed out a
problem, but the spamage of consoles is really bad. Until we can get this to be less chatty, disable it so people can boot. The badness of the spamage is worse than the badness that it reports :-(. Once the underlying problems have been fixed, it can be reenabled. Approved by: kken, markm, rwatson, grog, murray
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/proc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 9b3d19e..ff1e0a2 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -729,8 +729,6 @@ MALLOC_DECLARE(M_ZOMBIE);
} while (0)
#define _STOPEVENT(p, e, v) do { \
PROC_LOCK_ASSERT(p, MA_OWNED); \
- WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, &p->p_mtx.mtx_object, \
- "checking stopevent %d", (e)); \
if ((p)->p_stops & (e)) \
stopevent((p), (e), (v)); \
} while (0)
OpenPOWER on IntegriCloud