From owner-cvs-all@FreeBSD.ORG Fri Jan 7 07:57:19 2005 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 D0E6516A4CE; Fri, 7 Jan 2005 07:57:19 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCE8843D1F; Fri, 7 Jan 2005 07:57:19 +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 j077vJAM099777; Fri, 7 Jan 2005 07:57:19 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j077vJ2i099776; Fri, 7 Jan 2005 07:57:19 GMT (envelope-from scottl) Message-Id: <200501070757.j077vJ2i099776@repoman.freebsd.org> From: Scott Long Date: Fri, 7 Jan 2005 07:57:19 +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.csrc/sys/amd64/include bus_dma.h src/sys/i386/i386 busdma_machdep.c src/sys/i386/include bus_dma.h 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: Fri, 07 Jan 2005 07:57:20 -0000 scottl 2005-01-07 07:57:19 UTC FreeBSD src repository Modified files: sys/amd64/amd64 busdma_machdep.c sys/amd64/include bus_dma.h sys/i386/i386 busdma_machdep.c sys/i386/include bus_dma.h Log: Introduce bus_dmamap_load_mbuf_sg(). Instead of taking a callback arg, this cuts to the chase and fills in a provided s/g list. This is meant to optimize out the cost of the callback since the callback doesn't serve much purpose for mbufs since mbuf loads will never be deferred. This is just for amd64 and i386 at the moment, other arches will be coming shortly. Revision Changes Path 1.66 +48 -13 src/sys/amd64/amd64/busdma_machdep.c 1.27 +5 -0 src/sys/amd64/include/bus_dma.h 1.70 +48 -13 src/sys/i386/i386/busdma_machdep.c 1.27 +5 -0 src/sys/i386/include/bus_dma.h