Hi all,

When debugging and writing wireless drivers/stack code, I like to
sprinkle lots of locking assertions everywhere. However, this does
cause things to panic quite often during active development.

This patch (against stable/9) makes the actual panic itself
configurable. It still prints the message regardless.

This has allowed me to sprinkle more locking assertions everywhere to
investigate whether particular paths have been hit or not. I don't
necessarily want those to panic the kernel.

I'd like everyone to consider this for FreeBSD-HEAD.

Thanks!




Adrian

Attachment: 20121114-witness-1.diff
Description: Binary data

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to