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

From: Robert Love (rml@tech9.net)
Date: Tue Nov 20 2001 - 09:58:10 EST


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/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:23 EST