]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Drop filedesc lock and acquire Giant around calls to malloc() and free().
authortjr <tjr@FreeBSD.org>
Fri, 13 Dec 2002 09:59:40 +0000 (09:59 +0000)
committertjr <tjr@FreeBSD.org>
Fri, 13 Dec 2002 09:59:40 +0000 (09:59 +0000)
commitbcd327d9a44f1ca6c358929cb93dd40acf3d7295
tree48b504971d855aed854c98ac4ba5826748b47684
parent33cac8d3682293ff210e1d5f6d0006c02cc2d93f
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
sys/kern/kern_descrip.c