>
>
>Uhhuh, just for fun, please apply this patch and tell me whether the
>problems go away or get worse.. In any case, it should make it a lot more
>repeatable (either repeatably solid, or repeatably crashing ;)
I just discovered the bug yesterday evening (but I had not the time to fix
it).
The bug is that do_tty_hanghup() does a lock_kernel() in a tq_scheduler
with a current->lock_depth > -1. So lock_kernel() does nothing there and
so do_tty_hangup() was racing with the process that run the schedule()
with the kernel lock just held.
I am going to fix now...
Andrea Arcangeli
-
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/