svn commit: r277960 - head/sys/sys
John Baldwin
jhb at FreeBSD.org
Sat Jan 31 02:15:17 UTC 2015
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)); \
More information about the svn-src-head
mailing list