Date: Fri, 13 Dec 2002 01:59:40 -0800 (PST) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_descrip.c Message-ID: <200212130959.gBD9xeX6099849@repoman.freebsd.org>
index | next in thread | raw e-mail
tjr 2002/12/13 01:59:40 PST
Modified files:
sys/kern kern_descrip.c
Log:
Drop filedesc lock and acquire Giant around calls to malloc() and free().
These call uma_large_malloc() and uma_large_free() which require Giant.
Fixes panic when descriptor table is larger than KMEM_ZMAX bytes
noticed by kkenn.
Reviewed by: jhb
Revision Changes Path
1.170 +18 -1 src/sys/kern/kern_descrip.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212130959.gBD9xeX6099849>
