Posted Apr 24, 2009 12:38 UTC (Fri) by error27
In reply to: Kernel compiler
Parent article: Quotes of the week
"kernel code would look so old and crusty that people would probably want to stay away."
The kernel already has code so crusty that people stay away from it. :P
My view is that tying the kernel and sparse would probably lead to more sparse mark-up. There is more error checking that could be done. Using sparse would lead to more change, and more flexibility, not less.
For example, you could mark some functions as user context only, and the compiler could catch it compile time if you called them from irq context.
to post comments)