From owner-cvs-all@FreeBSD.ORG Sun Nov 21 04:43:28 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 785D616A4CF; Sun, 21 Nov 2004 04:43:28 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5111043D45; Sun, 21 Nov 2004 04:43:28 +0000 (GMT) (envelope-from scottl@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 iAL4hSM0022704; Sun, 21 Nov 2004 04:43:28 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iAL4hSlD022703; Sun, 21 Nov 2004 04:43:28 GMT (envelope-from scottl) Message-Id: <200411210443.iAL4hSlD022703@repoman.freebsd.org> From: Scott Long Date: Sun, 21 Nov 2004 04:43:28 +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/i386/i386 busdma_machdep.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, 21 Nov 2004 04:43:28 -0000 scottl 2004-11-21 04:43:28 UTC FreeBSD src repository Modified files: sys/i386/i386 busdma_machdep.c Log: MFC amd64: Consolidate all of the bounce tests into the BUS_DMA_COULD_BOUNCE flag. Allocate the bounce zone at either tag creation or map creation to help avoid null-pointer derefs later on. Track total pages per zone so that each zone can get a minimum allocation at tag creation time instead of being defeated by mis-behaving tags that suck up the max amount. Revision Changes Path 1.66 +45 -29 src/sys/i386/i386/busdma_machdep.c