* show_stack():
print the call chain.
currently, either nothing is printed ("alloc_skb called nonatomically"), or
an oops is forced (kmem_free()).
* assert()
* a central dbg_printk().
* test macros for ownership of spinlocks/semaphores/kernel_flag.
They don't need to be reliable, they should catch missing down() and
lock_kernel() calls, so even 10 % detection would ok.
-- Manfred P.S.: I'm not sure, but I think that do_lo_request() ->create_missing_block() ->file->f_op->write(); -> ext2_file_write() could be running without the kernel lock.
- 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/