I agree that this is a workable idea. On the other hand, I'd bet Linus would
put that idea right up there with shipping a debugger in kernel.
If you need to use tricks like that to find bugs, you might not understand
your code as well as you should.
The optimization angle is an important one. I'd like to see intel's
optimizations tested against the kernel, *and then released in gcc*, or
something specialized like pgcc. (Anyone know if pgcc ever compiled a good
kernel that was notably faster?)
Overall, though, I'd bet such optimizations would give no more than a few
percentage points of speed overall. The big gains are to be had by serious
redesign like the cache change or the zero copy stuff.
When your design is mediocre, an optimizing compiler makes the the wrong idea
faster.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/