From owner-cvs-all@FreeBSD.ORG Sat Mar 4 17:03:08 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 535D616A420; Sat, 4 Mar 2006 17:03:08 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id C486743D48; Sat, 4 Mar 2006 17:03:03 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id k24H31hs005780 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Mar 2006 20:03:01 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id k24H31F1005779; Sat, 4 Mar 2006 20:03:01 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Sat, 4 Mar 2006 20:03:00 +0300 From: Gleb Smirnoff To: Paul Saab , ups@FreeBSD.org Message-ID: <20060304170300.GK92988@FreeBSD.org> References: <200603032236.k23Maq7W079474@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200603032236.k23Maq7W079474@repoman.freebsd.org> User-Agent: Mutt/1.5.6i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_malloc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Mar 2006 17:03:08 -0000 On Fri, Mar 03, 2006 at 10:36:52PM +0000, Paul Saab wrote: P> ps 2006-03-03 22:36:52 UTC P> P> FreeBSD src repository P> P> Modified files: P> sys/kern kern_malloc.c P> Log: P> Fix bug in malloc_uninit(): P> Releasing items from the mt_zone can not be done by a simple P> uma_zfree() call since mt_zone is allocated with the UMA_ZONE_MALLOC P> flag. Use uma_zfree_arg instead and supply the slab. P> P> This bug caused panics in low memory situations on unloading kernel P> modules containing MALLOC_DEFINE(..) statements. P> P> Submitted by: ups Thanks! I was hitting this from time to time. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE