On Sun, Jan 06, 2008 at 01:38:17PM -0800, Arjan van de Ven wrote:
Note that this is for warnings, not oopses.
This comment in oops_enter threw me off of using it:
debug_locks_off(); /* can't trust the integrity of the kernel
anymore */
Since we can very well depend on the integrity of the kernel when it's
just doing a __WARN().
do_warn_slowpath() doesn't use oops_enter() either.
-Olof
--