svn commit: r244112 - head/sys/kern
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sat Dec 15 20:56:46 UTC 2012
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.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://tupytaj.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20121215/80f5d751/attachment.sig>
More information about the svn-src-head
mailing list