Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2005 17:17:12 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        current@freebsd.org
Subject:   [PATCH] push Giant down into fdfree()
Message-ID:  <200510311717.13419.jhb@freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510311717.13419.jhb>