From owner-freebsd-current@FreeBSD.ORG Thu Oct 30 01:24:39 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C9DD16A4CE for ; Thu, 30 Oct 2003 01:24:39 -0800 (PST) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B7CB43FA3 for ; Thu, 30 Oct 2003 01:24:38 -0800 (PST) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 8084B3ABB2D; Thu, 30 Oct 2003 10:22:38 +0100 (CET) Date: Thu, 30 Oct 2003 10:22:38 +0100 From: Pawel Jakub Dawidek To: Sam Leffler Message-ID: <20031030092238.GY84474@garage.freebsd.pl> References: <200310291052.48617.sam@errno.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="eQ8QKBgzzGzhafWG" Content-Disposition: inline In-Reply-To: <200310291052.48617.sam@errno.com> X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE-p9 i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i cc: freebsd-current@freebsd.org Subject: Re: HEADSUP: MPSAFE network drivers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 09:24:39 -0000 --eQ8QKBgzzGzhafWG Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 29, 2003 at 11:52:48AM -0700, Sam Leffler wrote: +> I'm committing changes to mark various network drivers' interrupt handle= rs=20 +> MPSAFE. To insure folks have a way to backout if they hit problems I've = also=20 +> added a tunable that lets you disable this w/o rebuilding your kernel. = By=20 +> default all network drivers that register an interrupt handler INTR_MPSA= FE=20 +> are setup to run their ISR w/o Giant. If you want to defeat this w/o=20 +> changing the code you can set +>=20 +> debug.mpsafenet=3D0 +>=20 +> from the loader when booting and the MPSAFE bit will automatically be re= moved. =20 +> I plan to use this to also control forthcoming changes for registering M= PSAFE=20 +> netisrs. +>=20 +> The following drivers are marked MPSAFE: +>=20 +> ath, em, ep, fxp, sn, wi, sis +>=20 +> I've got changes coming for bge. Other drivers probably can be marked M= PSAFE=20 +> but I'm only doing it for those drivers that I can test. Because there is so many drivers, maybe you could prepare some regression tests designed to check changed things. This will allow people to test your changes - it is not very easy now if we don't know what we're looking for exactly PLUS those drivers aren't marked MPSAFE by default. --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --eQ8QKBgzzGzhafWG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBP6DYXj/PhmMH/Mf1AQE3vwP8DqXbgjx3X5mizOtpW+Z0vtQ8tkG/aEmW 47rtc+sUTEkO7VuPlMjAvTk/7sD9G/w8kMFaxXxVcM6Uc/U4ojtLQeFEAW3z3xkG QtV/PQt508eef06WSxrabWhtpoy5aclT96HrFX8t6ZTFhVh9iwbEZHZof82i7FLD q5Wd7jnlQq8= =L4fj -----END PGP SIGNATURE----- --eQ8QKBgzzGzhafWG--