Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Mar 2006 20:03:00 +0300
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Paul Saab <ps@FreeBSD.org>, ups@FreeBSD.org
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_malloc.c
Message-ID:  <20060304170300.GK92988@FreeBSD.org>
In-Reply-To: <200603032236.k23Maq7W079474@repoman.freebsd.org>
References:  <200603032236.k23Maq7W079474@repoman.freebsd.org>

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



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