From owner-svn-src-all@freebsd.org Mon Oct 9 18:28:10 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDF71E385F5; Mon, 9 Oct 2017 18:28:10 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6ECB375A47; Mon, 9 Oct 2017 18:28:09 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with SMTP id 1cmdeAnWOI8mC1cmfer8oV; Mon, 09 Oct 2017 12:28:09 -0600 X-Authority-Analysis: v=2.2 cv=HahkdmM8 c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=kj9zAlcOel0A:10 a=02M-m0pO-4AA:10 a=6I5d2MoRAAAA:8 a=QCccru2TAAAA:8 a=YxBL1-UpAAAA:8 a=KOormpjoEEOd_GiNS3AA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=rCjsK_HQOcgUb9vb-KUg:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 94045AD; Mon, 9 Oct 2017 11:28:07 -0700 (PDT) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id v99IS7Mj060589; Mon, 9 Oct 2017 11:28:07 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201710091828.v99IS7Mj060589@slippy.cwsent.com> X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Alan Cox cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r324444 - head/sys/kern In-Reply-To: Message from Alan Cox of "Mon, 09 Oct 2017 18:19:06 -0000." <201710091819.v99IJ6oB009917@repo.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 09 Oct 2017 11:28:07 -0700 X-CMAE-Envelope: MS4wfPb6pK35/HS6w5r+Kk8Mybc2Op6gyLtI9387D+jvtFZAXmyC7qNEtoZtZ9lKbNYky7gTFP7G3Sga0Nt+FtuyBe4QDGBtb6YGkZxuYzcibkw1T8TuiUZ8 3kBCGUO4nI5FXKs7TC06Pcsr6DIMApdogn1xovv8W6SZ8k9EYd/Xzxcomuypbikk7Q3u4oOMyM25kAeKuDGihRB7I5JDY+Rq2ZTjQc59tsX+5I3m0h3hDdv0 LjCQzFAk3kiIGJegrhAbpmksdzsq8jVHWyho+Q645DiV48T4CWOIOkX8PEfnSadX X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 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: Mon, 09 Oct 2017 18:28:10 -0000 In message <201710091819.v99IJ6oB009917@repo.freebsd.org>, Alan Cox writes: > Author: alc > Date: Mon Oct 9 18:19:06 2017 > New Revision: 324444 > URL: https://svnweb.freebsd.org/changeset/base/324444 > > Log: > The recent change to initialization of blists (r324420) relied on '-1' > appearing only where the code explicitly set it, but since much of the > data was not initialized, '-1' appeared other places too, and led to > panics. Clear the allocated data before initializing nonzero values by > allocating with M_ZERO. > > Submitted by: Doug Moore > Reported by: Oleg V. Nauman , cy > Tested by: Oleg V. Nauman > MFC after: 1 week > X-MFC with: r324420 > Differential Revision: https://reviews.freebsd.org/D12627 Thanks. This fixes the recurring panic on one of my machines. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.