From owner-cvs-src@FreeBSD.ORG Thu Apr 17 17:54:05 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C9E01065673; Thu, 17 Apr 2008 17:54:05 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.18.15]) by mx1.freebsd.org (Postfix) with ESMTP id 5C1448FC34; Thu, 17 Apr 2008 17:54:05 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [217.50.163.150] (helo=localhost) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JmYJ8-0006Hy-U7; Thu, 17 Apr 2008 19:54:03 +0200 Date: Thu, 17 Apr 2008 19:53:38 +0200 From: Fabian Keil To: =?ISO-8859-1?Q?S=F8ren?= Schmidt Message-ID: <20080417195338.257a1df2@fabiankeil.de> In-Reply-To: <200804171229.m3HCTaG4089203@repoman.freebsd.org> References: <200804171229.m3HCTaG4089203@repoman.freebsd.org> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd8.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/D6ShxRBFkeoeh=UPYe6QjIT"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Df-Sender: 775067 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c ata-disk.c ata-dma.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-src@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 17 Apr 2008 17:54:05 -0000 --Sig_/D6ShxRBFkeoeh=UPYe6QjIT Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable S=F8ren Schmidt wrote: > sos 2008-04-17 12:29:36 UTC >=20 > FreeBSD src repository >=20 > Modified files: > sys/dev/ata ata-all.c ata-all.h ata-chipset.c=20 > ata-disk.c ata-dma.c ata-lowlevel.c=20 > ata-pci.c ata-queue.c ata-raid.c=20 > atapi-cam.c atapi-cd.c atapi-fd.c=20 > atapi-tape.c=20 > Log: > Go back to preallocating everything possible on init. > This avoids calling busdma in the request processing path which caused > a traumatic performance degradation. Allocation has be postponed to > after we know how many devices we possible can have on portmulitpliers > to save some space. With this commit, I'm getting a page fault in bus_dmamap_load() reached through ata_dmaload(), right after ad1 is detected: http://www.fabiankeil.de/tmp/freebsd/ata-bus-dmamap-load-page-fault-600x383= .jpg http://www.fabiankeil.de/tmp/freebsd/ata-bus-dmamap-load-page-fault-where-6= 00x440.jpg Fabian --Sig_/D6ShxRBFkeoeh=UPYe6QjIT Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkgHjqIACgkQBYqIVf93VJ2kNQCgsWeJuDmjFXGu5ok8/Xp/M2X5 /eIAnRscYkC5SskAmNCF0dNG0Opqzsnw =xoXV -----END PGP SIGNATURE----- --Sig_/D6ShxRBFkeoeh=UPYe6QjIT--