From owner-cvs-all@FreeBSD.ORG Wed Dec 21 18:58:58 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5711216A41F; Wed, 21 Dec 2005 18:58:50 +0000 (GMT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4F6A43DA3; Wed, 21 Dec 2005 18:58:43 +0000 (GMT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jBLIweUa032342; Wed, 21 Dec 2005 18:58:40 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBLIwe2H032341; Wed, 21 Dec 2005 18:58:40 GMT (envelope-from alc) Message-Id: <200512211858.jBLIwe2H032341@repoman.freebsd.org> From: Alan Cox Date: Wed, 21 Dec 2005 18:58:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern imgact_elf.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2005 18:59:00 -0000 alc 2005-12-21 18:58:40 UTC FreeBSD src repository Modified files: sys/kern imgact_elf.c Log: Maintain the vnode lock throughout elfN_load_file() rather than releasing it and reacquiring it in vrele(). Consequently, there is no reason to increase the reference count on the vm object caching the file's pages. Reviewed by: tegge Eliminate unused parameters to elfN_load_file(). Revision Changes Path 1.171 +13 -21 src/sys/kern/imgact_elf.c