From owner-cvs-src@FreeBSD.ORG Sat May 22 17:00:42 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 62DE816A4CE; Sat, 22 May 2004 17:00:42 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4427443D31; Sat, 22 May 2004 17:00:42 -0700 (PDT) (envelope-from mux@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 i4N00A35068605; Sat, 22 May 2004 17:00:10 -0700 (PDT) (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i4N00AXj068604; Sat, 22 May 2004 17:00:10 -0700 (PDT) (envelope-from mux) Message-Id: <200405230000.i4N00AXj068604@repoman.freebsd.org> From: Maxime Henrion Date: Sat, 22 May 2004 17:00:10 -0700 (PDT) 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-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: Sun, 23 May 2004 00:00:42 -0000 mux 2004/05/22 17:00:10 PDT FreeBSD src repository Modified files: sys/pci agp.c Log: In agp_generic_bind_memory(), grab the needed pages before acquiring the agp mutex. We do this because vm_page_grab() called with the VM_ALLOC_RETRY flag can sleep. Pointed out by: alc Revision Changes Path 1.42 +42 -30 src/sys/pci/agp.c