Re: [PATCH] push Giant down into fdfree()

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 31 Oct 2005 17:54:43 -0500
On Monday 31 October 2005 05:17 pm, John Baldwin wrote:
> This patches pushes Giant down into fdfree() by using VFS_LOCK_GIANT for
> the occasional VOP_ADVLOCK() and moving various vrele() calls out from
> under the FILEDESC_LOCK.  Note that about half the calls to fdfree()
> (either directly or indirectly via fdunshare()) didn't lock Giant anyway. 
> Please review and/or test, thanks!
>
> http://www.FreeBSD.org/~jhb/patches/fdfree.patch

Nm on this one. :)  Looks like csjp_at_ already has this mostly done (I thought I 
had seen this talked about on IRC).

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Mon Oct 31 2005 - 20:53:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC