Author: jhb
Date: Sat Jan 31 02:15:16 2015
New Revision: 277960
URL: https://svnweb.freebsd.org/changeset/base/277960
Log:
Add a WITNESS_WARN check to STOPEVENT() to match the one in _STOPEVENT().
Modified:
head/sys/sys/proc.h
Modified: head/sys/sys/proc.h
==============================================================================
--- head/sys/sys/proc.h Sat Jan 31 02:13:25 2015 (r277959)
+++ head/sys/sys/proc.h Sat Jan 31 02:15:16 2015 (r277960)
@@ -752,6 +752,8 @@ extern pid_t pid_max;
#define STOPEVENT(p, e, v) do {
\
+ WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, \
+ "checking stopevent %d", (e)); \
if ((p)->p_stops & (e)) { \
PROC_LOCK(p); \
stopevent((p), (e), (v)); \
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"