[PATCH] push Giant down into fdfree()

John Baldwin jhb at freebsd.org
Mon Oct 31 13:15:37 PST 2005


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

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