From owner-cvs-all Fri Jan 21 12:17: 6 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id F26E214D20; Fri, 21 Jan 2000 12:17:03 -0800 (PST) (envelope-from dillon@FreeBSD.org) Received: (from dillon@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA02933; Fri, 21 Jan 2000 12:17:03 -0800 (PST) (envelope-from dillon@FreeBSD.org) Message-Id: <200001212017.MAA02933@freefall.freebsd.org> From: Matt Dillon Date: Fri, 21 Jan 2000 12:17:02 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_map.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dillon 2000/01/21 12:17:02 PST Modified files: sys/vm vm_map.c Log: Fix a deadlock between msync(..., MS_INVALIDATE) and vm_fault. The invalidation code cannot wait for paging to complete while holding a vnode lock, so we don't wait. Instead we simply allow the lower level code to simply block on any busy pages it encounters. I think Yahoo may be the only entity in the entire world that actually uses this msync feature :-). Bug reported by: Paul Saab Revision Changes Path 1.185 +30 -26 src/sys/vm/vm_map.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message