From owner-cvs-all@FreeBSD.ORG Wed Jan 14 13:26:46 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 B01B816A4FE; Wed, 14 Jan 2004 13:26:46 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBB8143D4C; Wed, 14 Jan 2004 13:26:35 -0800 (PST) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0ELQZ0B019491; Wed, 14 Jan 2004 13:26:35 -0800 (PST) (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0ELQZ4P019490; Wed, 14 Jan 2004 13:26:35 -0800 (PST) (envelope-from sos) Message-Id: <200401142126.i0ELQZ4P019490@repoman.freebsd.org> From: Søren Schmidt Date: Wed, 14 Jan 2004 13:26:35 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-card.c ata-cbus.c ata-chipset.c ata-disk.c ata-dma.c ata-isa.c ata-lowlevel.c ata-pci.c ata-queue.c ata-raid.c atapi-cam.c atapi-cd.c atapi-fd.c atapi-tape.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: Wed, 14 Jan 2004 21:26:46 -0000 sos 2004/01/14 13:26:35 PST FreeBSD src repository Modified files: sys/dev/ata ata-all.c ata-all.h ata-card.c ata-cbus.c ata-chipset.c ata-disk.c ata-dma.c ata-isa.c ata-lowlevel.c ata-pci.c ata-queue.c ata-raid.c atapi-cam.c atapi-cd.c atapi-fd.c atapi-tape.c Log: Use UMA instead of plain malloc for getting ATA request storage. This gives +10% performance on simple tests, so definitly worth it. A few percent more could be had by not using M_ZERO'd alloc's, but we then need to clear fields all over the place to be safe, and that was deemed not worth the trouble (and it makes life dangerous). Revision Changes Path 1.201 +7 -2 src/sys/dev/ata/ata-all.c 1.70 +5 -3 src/sys/dev/ata/ata-all.h 1.22 +1 -0 src/sys/dev/ata/ata-card.c 1.10 +1 -0 src/sys/dev/ata/ata-cbus.c 1.56 +1 -0 src/sys/dev/ata/ata-chipset.c 1.167 +1 -2 src/sys/dev/ata/ata-disk.c 1.125 +1 -0 src/sys/dev/ata/ata-dma.c 1.20 +1 -0 src/sys/dev/ata/ata-isa.c 1.27 +1 -0 src/sys/dev/ata/ata-lowlevel.c 1.74 +1 -0 src/sys/dev/ata/ata-pci.c 1.16 +6 -27 src/sys/dev/ata/ata-queue.c 1.75 +1 -0 src/sys/dev/ata/ata-raid.c 1.31 +1 -0 src/sys/dev/ata/atapi-cam.c 1.160 +2 -2 src/sys/dev/ata/atapi-cd.c 1.92 +1 -0 src/sys/dev/ata/atapi-fd.c 1.87 +1 -0 src/sys/dev/ata/atapi-tape.c