Date: Sat, 09 Sep 2000 17:59:11 -0700 From: Peter Wemm <peter@netplex.com.au> To: Jason Evans <jasone@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_malloc.c Message-ID: <200009100059.e8A0xCG75517@netplex.com.au> In-Reply-To: <200009092227.PAA38766@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009100059.e8A0xCG75517>