From owner-cvs-src@FreeBSD.ORG Mon Mar 6 22:36:45 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7836316A425; Mon, 6 Mar 2006 22:36:45 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF2CD43D80; Mon, 6 Mar 2006 22:36:42 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (yar@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k26MagRB072202; Mon, 6 Mar 2006 22:36:42 GMT (envelope-from yar@freefall.freebsd.org) Received: (from yar@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k26MagYi072201; Mon, 6 Mar 2006 22:36:42 GMT (envelope-from yar) Date: Mon, 6 Mar 2006 22:36:42 +0000 From: Yar Tikhiy To: Paul Saab Message-ID: <20060306223642.GA70766@freefall.freebsd.org> References: <200603032236.k23Maq7W079474@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603032236.k23Maq7W079474@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, "Ricardo A. Reis" , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_malloc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 22:36:45 -0000 On Fri, Mar 03, 2006 at 10:36:52PM +0000, Paul Saab wrote: > ps 2006-03-03 22:36:52 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_malloc.c > Log: > Fix bug in malloc_uninit(): > Releasing items from the mt_zone can not be done by a simple > uma_zfree() call since mt_zone is allocated with the UMA_ZONE_MALLOC > flag. Use uma_zfree_arg instead and supply the slab. > > This bug caused panics in low memory situations on unloading kernel > modules containing MALLOC_DEFINE(..) statements. > > Submitted by: ups > > Revision Changes Path > 1.153 +3 -1 src/sys/kern/kern_malloc.c Could the bug be hiding in RELENG_6 as well? PR kern/94048 seems to be related to that. Thanks! Yar