[PATCH] push Giant down into fdfree()

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 31 Oct 2005 17:17:12 -0500
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
Received on Mon Oct 31 2005 - 20:15:37 UTC

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