From owner-cvs-all@FreeBSD.ORG Tue Feb 12 16:24:30 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B162016A419; Tue, 12 Feb 2008 16:24:30 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 872F613C459; Tue, 12 Feb 2008 16:24:30 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m1CGOUZl097547; Tue, 12 Feb 2008 16:24:30 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1CGOUca097546; Tue, 12 Feb 2008 16:24:30 GMT (envelope-from scottl) Message-Id: <200802121624.m1CGOUca097546@repoman.freebsd.org> From: Scott Long Date: Tue, 12 Feb 2008 16:24:30 +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/i386/i386 busdma_machdep.c src/sys/amd64/amd64 busdma_machdep.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: Tue, 12 Feb 2008 16:24:30 -0000 scottl 2008-02-12 16:24:30 UTC FreeBSD src repository Modified files: sys/i386/i386 busdma_machdep.c sys/amd64/amd64 busdma_machdep.c Log: If busdma is being used to realign dynamic buffers and the alignment is set to PAGE_SIZE or less, the bounce page counting logic was flawed and wouldn't reserve any pages. Adjust to be correct. Review of other architectures is forthcoming. Submitted by: Joseph Golio Revision Changes Path 1.85 +2 -2 src/sys/amd64/amd64/busdma_machdep.c 1.91 +2 -2 src/sys/i386/i386/busdma_machdep.c