svn commit: r335562 - head/sys/vm

Ian Lepore ian at FreeBSD.org
Fri Jun 22 20:22:27 UTC 2018


Author: ian
Date: Fri Jun 22 20:22:26 2018
New Revision: 335562
URL: https://svnweb.freebsd.org/changeset/base/335562

Log:
  Eliminate a spurious panic on non-SMP systems (occurred on shutdown/reboot).

Modified:
  head/sys/vm/uma_core.c

Modified: head/sys/vm/uma_core.c
==============================================================================
--- head/sys/vm/uma_core.c	Fri Jun 22 20:19:33 2018	(r335561)
+++ head/sys/vm/uma_core.c	Fri Jun 22 20:22:26 2018	(r335562)
@@ -2258,7 +2258,9 @@ void
 uma_zfree_pcpu_arg(uma_zone_t zone, void *item, void *udata)
 {
 
+#ifdef SMP
 	MPASS(zone->uz_flags & UMA_ZONE_PCPU);
+#endif
 	uma_zfree_arg(zone, item, udata);
 }
 


More information about the svn-src-all mailing list