cvs commit: src/sys/kern kern_malloc.c

Pawel Jakub Dawidek pjd at
Sat Mar 4 00:28:24 PST 2006

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


Pawel Jakub Dawidek             
pjd at                 
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the cvs-src mailing list