lkml.org 
[lkml]   [1999]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Kernel asserts - was: Profanity in the Linux Kernel?!?!?
Date
Riley wrote:
>
>Personally, I'd love to see something along the lines of a kernel
>orientated assert() macro inserted throughout the kernel, with the
>property that if the condition listed therein was false, it reported
>the fact to some systrace facility (perhaps using syslog) so one could
>use that as an additional aid when tracking down problems. If it was
>implemented properly, then the ONLY reports it produced would relate
>to assumptions kernel writers both made and documented that were not
>valid.

<delurk>

This sounds like an excellent idea to me!

I'll bet kernel asserts could be used to considerable effect with a minimal
impact on kernel size and efficiency, so that their default config setting
could be 'on'. But anyone desiring every last microsecond out of the kernel
could always compile with them off.

</delurk>



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.039 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site