Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2002 14:05:50 -0800
From:      Peter Wemm <peter@wemm.org>
To:        "Tim J. Robbins" <tjr@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_descrip.c 
Message-ID:  <20021213220550.2BB132A8A5@canning.wemm.org>
In-Reply-To: <200212130959.gBD9xeX6099849@repoman.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
"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?

Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


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?20021213220550.2BB132A8A5>