From owner-cvs-all Fri Dec 13 14: 6:10 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6613437B404; Fri, 13 Dec 2002 14:06:09 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AF9743EC2; Fri, 13 Dec 2002 14:05:55 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 2BB132A8A5; Fri, 13 Dec 2002 14:05:50 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Tim J. Robbins" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_descrip.c In-Reply-To: <200212130959.gBD9xeX6099849@repoman.freebsd.org> Date: Fri, 13 Dec 2002 14:05:50 -0800 From: Peter Wemm Message-Id: <20021213220550.2BB132A8A5@canning.wemm.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "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