From owner-cvs-all@FreeBSD.ORG Tue Nov 9 07:07:54 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 7D1AE16A4CE; Tue, 9 Nov 2004 07:07:54 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7044B43D3F; Tue, 9 Nov 2004 07:07:54 +0000 (GMT) (envelope-from scottl@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 iA977sxP090479; Tue, 9 Nov 2004 07:07:54 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iA977s6F090475; Tue, 9 Nov 2004 07:07:54 GMT (envelope-from scottl) Message-Id: <200411090707.iA977s6F090475@repoman.freebsd.org> From: Scott Long Date: Tue, 9 Nov 2004 07:07:54 +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: Tue, 09 Nov 2004 07:07:54 -0000 scottl 2004-11-09 07:07:54 UTC FreeBSD src repository Modified files: sys/i386/i386 busdma_machdep.c Log: First pass at replacing the single global bounce pool with sub-pools that are appropriate for different tag requirements. With the former global pool, bounce pages might get allocated that are appropriate for one tag, but not appropriate for another, but the system had no way to distinguish between them. Now zones with distinct attributes are created to hold pages, and each tag that requires bouncing is associated with a zone. New zones are created as needed if no existing zones can meet the requirements of the tag. Stats for each zone are tracked via the hw.busdma sysctl node. This should help drivers that are failing with mysterious data corruption. MFC After: 1 week Revision Changes Path 1.63 +140 -36 src/sys/i386/i386/busdma_machdep.c