svn commit: r334584 - head/sys/sys

Matt Macy mmacy at FreeBSD.org
Sun Jun 3 19:37:10 UTC 2018


Author: mmacy
Date: Sun Jun  3 19:37:09 2018
New Revision: 334584
URL: https://svnweb.freebsd.org/changeset/base/334584

Log:
  pmc: remove assert that is invalid in interrupt context

Modified:
  head/sys/sys/pmckern.h

Modified: head/sys/sys/pmckern.h
==============================================================================
--- head/sys/sys/pmckern.h	Sun Jun  3 19:05:20 2018	(r334583)
+++ head/sys/sys/pmckern.h	Sun Jun  3 19:37:09 2018	(r334584)
@@ -217,7 +217,6 @@ do {						\
  */
 #define	PMC_CALL_HOOK_UNLOCKED(t, cmd, arg)	\
 do {						\
-	MPASS(!in_epoch());					\
 	if (pmc_hook != NULL)				\
 		(pmc_hook)((t), (cmd), (arg));	\
 } while (0)


More information about the svn-src-head mailing list