KASSERT: always assert; KWARN
Rui Paulo
rpaulo at me.com
Wed May 11 23:50:08 UTC 2016
On Wed, 2016-05-11 at 09:48 -0700, John Baldwin wrote:
> Eh, if you keep going past many of the assertions the original code
> enabled, you will get _more_ bogus assertions as fallout.
I agree with John. We really shouldn't be fiddling with this.
There's just one case where this could be useful: you just imported a
bunch of code that you don't understand and you're using the kassert's
as a way to create a mental model of the code. However, this is a very
specific edge case.
--
Rui Paulo
More information about the freebsd-arch
mailing list