From owner-svn-src-all@freebsd.org Fri Jun 22 20:22:27 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3720210261A6; Fri, 22 Jun 2018 20:22:27 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D344B7FC5F; Fri, 22 Jun 2018 20:22:26 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B5D5F258F5; Fri, 22 Jun 2018 20:22:26 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5MKMQLR074124; Fri, 22 Jun 2018 20:22:26 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5MKMQim074123; Fri, 22 Jun 2018 20:22:26 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201806222022.w5MKMQim074123@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Fri, 22 Jun 2018 20:22:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335562 - head/sys/vm X-SVN-Group: head X-SVN-Commit-Author: ian X-SVN-Commit-Paths: head/sys/vm X-SVN-Commit-Revision: 335562 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2018 20:22:27 -0000 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); }