From owner-cvs-src@FreeBSD.ORG Sun Nov 21 04:15:26 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 B6DCC16A4CF; Sun, 21 Nov 2004 04:15:26 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E8CF43D1F; Sun, 21 Nov 2004 04:15:26 +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 iAL4FQfj021845; Sun, 21 Nov 2004 04:15:26 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iAL4FQGx021844; Sun, 21 Nov 2004 04:15:26 GMT (envelope-from scottl) Message-Id: <200411210415.iAL4FQGx021844@repoman.freebsd.org> From: Scott Long Date: Sun, 21 Nov 2004 04:15:26 +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/amd64/amd64 busdma_machdep.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, 21 Nov 2004 04:15:26 -0000 scottl 2004-11-21 04:15:26 UTC FreeBSD src repository Modified files: sys/amd64/amd64 busdma_machdep.c Log: 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.62 +45 -29 src/sys/amd64/amd64/busdma_machdep.c