Re: [bug report] System hang up with Speedtouch USB hotplug

Robert Love (rml@tech9.net)
20 Nov 2001 09:58:10 -0500


On Tue, 2001-11-20 at 07:37, Duncan Sands wrote:
> By the way, I find the preemptible kernel patch
> very helpful for debugging SMP problems on a
> uniprocessor machine.
>
> I'm trying to debug the speedtouch kernel module
> crashes with SMP using it: the module oopses
> nicely with preempt too!

This is a nice unintended benefit of the preemptible kernel patch, eh?
It also helps in your SMP debugging because you can see the lock depth
(how many locks are held) via current->preempt_count. The preempt patch
will also prevent you from infinite looping in the kernel, assuming the
system is able to preempt itself.

Robert Love

-
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/