Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2016 16:50:00 -0700
From:      Rui Paulo <rpaulo@me.com>
To:        John Baldwin <jhb@freebsd.org>, freebsd-arch@freebsd.org, cem@freebsd.org
Subject:   Re: KASSERT: always assert; KWARN
Message-ID:  <1463010600.7806.10.camel@me.com>
In-Reply-To: <31200026.OetD7h0dHc@ralph.baldwin.cx>
References:  <CAG6CVpWzuK6cZx3QnQhKOu=6GZBJF4cJQdNXgJZeXYhuJJANJg@mail.gmail.com> <ca489ff1-f520-3feb-0525-425eb015af7a@freebsd.org> <CAG6CVpWNzmaqKsOKJtuG1642m0knkupAoK=BoGq5iNHC1TA-Gw@mail.gmail.com> <31200026.OetD7h0dHc@ralph.baldwin.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1463010600.7806.10.camel>