From owner-cvs-all@FreeBSD.ORG Sun Oct 24 07:12:14 2004 Return-Path: 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 DEF6E16A4CE; Sun, 24 Oct 2004 07:12:14 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEC9F43D45; Sun, 24 Oct 2004 07:12:14 +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 i9O7CEKR071069; Sun, 24 Oct 2004 07:12:14 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9O7CENT071063; Sun, 24 Oct 2004 07:12:14 GMT (envelope-from alc) Message-Id: <200410240712.i9O7CENT071063@repoman.freebsd.org> From: Alan Cox Date: Sun, 24 Oct 2004 07:12:13 +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/pci agp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 24 Oct 2004 07:12:15 -0000 alc 2004-10-24 07:12:13 UTC FreeBSD src repository Modified files: sys/pci agp.c Log: Avoid repeated acquisition and release of the vm object lock inside of two loops in agp_generic_bind_memory(). As an intended side-effect, all of the calls to vm_page_wakeup() are now performed with the containing vm object lock held. Revision Changes Path 1.46 +6 -5 src/sys/pci/agp.c