From owner-cvs-all Mon Dec 24 17:44:52 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 229FA37B405; Mon, 24 Dec 2001 17:44:46 -0800 (PST) Received: (from dillon@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBP1ik971471; Mon, 24 Dec 2001 17:44:46 -0800 (PST) (envelope-from dillon) Message-Id: <200112250144.fBP1ik971471@freefall.freebsd.org> From: Matt Dillon Date: Mon, 24 Dec 2001 17:44:46 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_lock.c vfs_vnops.c src/sys/sys buf.h lock.h vnode.h src/sys/ufs/ffs ffs_vfsops.c src/sys/vm vm_pageout.c src/sys/fs/hpfs hpfs_vfsops.c src/sys/fs/smbfs smbfs_node.c src/sys/miscfs/union union_subr.c src/sys/msdosfs ... X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dillon 2001/12/24 17:44:46 PST Modified files: (Branch: RELENG_4) sys/kern kern_lock.c vfs_vnops.c sys/sys buf.h lock.h vnode.h sys/ufs/ffs ffs_vfsops.c sys/vm vm_pageout.c sys/fs/hpfs hpfs_vfsops.c sys/fs/smbfs smbfs_node.c sys/miscfs/union union_subr.c sys/msdosfs msdosfs_denode.c sys/ntfs ntfs_vfsops.c sys/nwfs nwfs_node.c Log: MFC the following: * LK_TIMEOUT lock flag to separate lock acquisition with and without a timeout (dillon) * use of LK_TIMEOUT in BUF_TIMELOCK to avoid timeout race aginst BUF_LOCK (dillon) * use of LK_TIMEOUT in pageout vget() code to avoid deadlock (dillon) * move vnode reclaim into its own kthread to avoid deadlocks (Yahoo) * remove 'VXLOCK interlock avoided' messages.. they can occur under normal operation and create a choking hazzard on the console. * Adjust VMIGHTFREE macro used with vnode reclaim code to avoid eating large amounts of cpu with little to show for it in certain situations. * Add VREF/VRELE around UFS_UPDATE() call to avoid update/reclaim race (note: snuck in at last minute but I accidently did a partial commit a moment ago and the tree is broken until I commit the rest of it). This is minor and will be tested heavily. Approved by: Release Engineers Revision Changes Path 1.3.2.2 +2 -2 src/sys/fs/hpfs/hpfs_vfsops.c 1.2.2.2 +1 -1 src/sys/fs/smbfs/smbfs_node.c 1.31.2.3 +5 -3 src/sys/kern/kern_lock.c 1.87.2.10 +3 -2 src/sys/kern/vfs_vnops.c 1.43.2.2 +2 -2 src/sys/miscfs/union/union_subr.c 1.47.2.2 +2 -2 src/sys/msdosfs/msdosfs_denode.c 1.20.2.5 +1 -1 src/sys/ntfs/ntfs_vfsops.c 1.3.2.8 +2 -2 src/sys/nwfs/nwfs_node.c 1.88.2.7 +2 -2 src/sys/sys/buf.h 1.17.2.3 +3 -2 src/sys/sys/lock.h 1.111.2.18 +8 -3 src/sys/sys/vnode.h 1.117.2.7 +9 -1 src/sys/ufs/ffs/ffs_vfsops.c 1.151.2.11 +12 -4 src/sys/vm/vm_pageout.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message