Date: Thu, 30 Oct 2003 10:22:38 +0100 From: Pawel Jakub Dawidek <nick@garage.freebsd.pl> To: Sam Leffler <sam@errno.com> Cc: freebsd-current@freebsd.org Subject: Re: HEADSUP: MPSAFE network drivers Message-ID: <20031030092238.GY84474@garage.freebsd.pl> In-Reply-To: <200310291052.48617.sam@errno.com> References: <200310291052.48617.sam@errno.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Oct 29, 2003 at 11:52:48AM -0700, Sam Leffler wrote: +> I'm committing changes to mark various network drivers' interrupt handlers +> MPSAFE. To insure folks have a way to backout if they hit problems I've also +> added a tunable that lets you disable this w/o rebuilding your kernel. By +> default all network drivers that register an interrupt handler INTR_MPSAFE +> are setup to run their ISR w/o Giant. If you want to defeat this w/o +> changing the code you can set +> +> debug.mpsafenet=0 +> +> from the loader when booting and the MPSAFE bit will automatically be removed. +> I plan to use this to also control forthcoming changes for registering MPSAFE +> netisrs. +> +> The following drivers are marked MPSAFE: +> +> ath, em, ep, fxp, sn, wi, sis +> +> I've got changes coming for bge. Other drivers probably can be marked MPSAFE +> 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. -- Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031030092238.GY84474>
