From owner-cvs-all Sat Sep 9 17:59:14 2000 Delivered-To: cvs-all@freebsd.org Received: from netplex.com.au (adsl-63-207-30-186.dsl.snfc21.pacbell.net [63.207.30.186]) by hub.freebsd.org (Postfix) with ESMTP id 717F237B424; Sat, 9 Sep 2000 17:59:12 -0700 (PDT) Received: from netplex.com.au (peter@localhost [127.0.0.1]) by netplex.com.au (8.11.0/8.9.3) with ESMTP id e8A0xCG75517; Sat, 9 Sep 2000 17:59:12 -0700 (PDT) (envelope-from peter@netplex.com.au) Message-Id: <200009100059.e8A0xCG75517@netplex.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: Jason Evans Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_malloc.c In-Reply-To: <200009092227.PAA38766@freefall.freebsd.org> Date: Sat, 09 Sep 2000 17:59:11 -0700 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jason Evans wrote: > jasone 2000/09/09 15:27:35 PDT > > Modified files: > sys/kern kern_malloc.c > Log: > Add a mutex to the malloc interfaces so that it can safely be called > without owning the Giant lock. This isn't safe.. It still calls kmem_malloc() which grovels around in the VM system. If you call malloc without Giant, you risk destroying the VM system as you would be calling it without Giant held. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "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