Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2002 17:38:32 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Peter Wemm <peter@wemm.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, "Tim J. Robbins" <tjr@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/kern kern_descrip.c
Message-ID:  <XFMail.20021213173832.jhb@FreeBSD.org>
In-Reply-To: <20021213220550.2BB132A8A5@canning.wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 13-Dec-2002 Peter Wemm wrote:
> "Tim J. Robbins" wrote:
>> 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.
> 
> What about things like geom which explicitly call malloc without Giant?
> Or is it just a problem for large allocations?

Just for large allocations which call uma_malloc_large().

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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