From owner-cvs-src@FreeBSD.ORG Sat Nov 6 05:33:02 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63F6C16A4CE; Sat, 6 Nov 2004 05:33:02 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5970843D46; Sat, 6 Nov 2004 05:33:02 +0000 (GMT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iA65X2qt068367; Sat, 6 Nov 2004 05:33:02 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iA65X2wH068366; Sat, 6 Nov 2004 05:33:02 GMT (envelope-from alc) Message-Id: <200411060533.iA65X2wH068366@repoman.freebsd.org> From: Alan Cox Date: Sat, 6 Nov 2004 05:33:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern vfs_default.c src/sys/vm vm_object.c vm_object.h vnode_pager.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 05:33:02 -0000 alc 2004-11-06 05:33:02 UTC FreeBSD src repository Modified files: sys/kern vfs_default.c sys/vm vm_object.c vm_object.h vnode_pager.c Log: Move a call to wakeup() from vm_object_terminate() to vnode_pager_dealloc() because this call is only needed to wake threads that slept when they discovered a dead object connected to a vnode. To eliminate unnecessary calls to wakeup() by vnode_pager_dealloc(), introduce a new flag, OBJ_DISCONNECTWNT. Reviewed by: tegge@ Revision Changes Path 1.104 +1 -0 src/sys/kern/vfs_default.c 1.335 +0 -2 src/sys/vm/vm_object.c 1.107 +1 -0 src/sys/vm/vm_object.h 1.202 +5 -0 src/sys/vm/vnode_pager.c