Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2012 21:58:21 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        src-committers@freebsd.org, John Baldwin <jhb@freebsd.org>, Alfred Perlstein <alfred@freebsd.org>, svn-src-all@freebsd.org, Alfred Perlstein <bright@mu.org>, Andriy Gapon <avg@freebsd.org>, Navdeep Parhar <np@freebsd.org>, svn-src-head@freebsd.org
Subject:   Re: svn commit: r244112 - head/sys/kern
Message-ID:  <20121215205821.GG1411@garage.freebsd.pl>
In-Reply-To: <CAJ-VmomAj9Yu=zrF2uKnAUSt4DDxNpNuyCUUE%2Bg8j4E3=WhP=g@mail.gmail.com>
References:  <201212110708.qBB78EWx025288@svn.freebsd.org> <201212121046.43706.jhb@freebsd.org> <CAJ-Vmo=U04GX%2BZyKuzXLwV%2BPpzU6_dm5BCmL=DWfsmhTVAR%2BsA@mail.gmail.com> <201212121658.49048.jhb@freebsd.org> <50C90567.8080406@FreeBSD.org> <50C909BD.9090709@mu.org> <50C91B32.4080904@FreeBSD.org> <50C91CD3.7030900@mu.org> <50C9206D.6080502@FreeBSD.org> <CAJ-VmomAj9Yu=zrF2uKnAUSt4DDxNpNuyCUUE%2Bg8j4E3=WhP=g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--jt0yj30bxbg11sci
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 12, 2012 at 04:41:45PM -0800, Adrian Chadd wrote:
> If a kassert is inviolable, then make it a panic() and include in the
> default kernel.

It is inviolable. We don't include it in default kernel as panic for
performance reasons, but it doesn't mean it can happen. If it happens it
is unexpected condition that is most likely not handled at all.

We use plain panic(9) in places that should not but can eventually
happen for reasons out of our control. For example if you are running in
VM and someone is corruption your disk image as you run. We do want to
detect it as quickly as possible.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl

--jt0yj30bxbg11sci
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlDM5G0ACgkQForvXbEpPzTtJwCdHp1eSsxHlvwtlJUfuqcNWOZQ
DFIAoIhM3SjQp8p3/cFu2xFCwheDy3Yd
=gnDn
-----END PGP SIGNATURE-----

--jt0yj30bxbg11sci--



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