Trim interrupt messages in dmesg..
John Baldwin
jhb at freebsd.org
Fri Sep 19 20:35:16 UTC 2008
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
More information about the freebsd-arch
mailing list