Date: Fri, 19 Sep 2008 14:37:28 -0400 From: John Baldwin <jhb@freebsd.org> To: arch@freebsd.org Subject: Trim interrupt messages in dmesg.. Message-ID: <200809191437.28550.jhb@freebsd.org>
next in thread | raw e-mail | index | archive | help
Personally, I find the MPSAFE/ITHREAD/FILTER messages a bit much in dmesg. I'd like to cut it back to just warning about GIANT-locked handlers. Thoughts? Index: subr_bus.c =================================================================== --- subr_bus.c (revision 183112) +++ subr_bus.c (working copy) @@ -3538,15 +3538,6 @@ return (error); if (handler != NULL && !(flags & INTR_MPSAFE)) device_printf(dev, "[GIANT-LOCKED]\n"); - if (bootverbose && (flags & INTR_MPSAFE)) - device_printf(dev, "[MPSAFE]\n"); - if (filter != NULL) { - if (handler == NULL) - device_printf(dev, "[FILTER]\n"); - else - device_printf(dev, "[FILTER+ITHREAD]\n"); - } else - device_printf(dev, "[ITHREAD]\n"); return (0); } -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809191437.28550.jhb>