Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2002 19:56:24 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Peter Wemm <peter@wemm.org>
Cc:        "Tim J. Robbins" <tjr@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/kern kern_descrip.c 
Message-ID:  <200212140356.gBE3uOCF002597@apollo.backplane.com>
References:   <20021213220550.2BB132A8A5@canning.wemm.org>

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

:>   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

    Perhaps I am reading this wrong, but does this imply that the API
    for malloc() has different requirements depending on the size of
    the allocation?  That doesn't make much sense to me.

						-Matt


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?200212140356.gBE3uOCF002597>