[PATCH] push Giant down into fdfree()

John Baldwin jhb at freebsd.org
Mon Oct 31 13:53:06 PST 2005


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


More information about the freebsd-current mailing list