Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2018 20:22:26 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335562 - head/sys/vm
Message-ID:  <201806222022.w5MKMQim074123@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806222022.w5MKMQim074123>