Date: Mon, 6 Mar 2006 08:42:08 +0000 (UTC) From: Paul Saab <ps@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_malloc.c Message-ID: <200603060842.k268g8uj035193@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ps 2006-03-06 08:42:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern kern_malloc.c Log: MFC: rev 1.153 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. Approved by: re (scottl) Revision Changes Path 1.142.2.8 +3 -1 src/sys/kern/kern_malloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603060842.k268g8uj035193>