lkml.org 
[lkml]   [1999]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux-2.2.2-pre2..
On Sat, 6 Feb 1999, Linus Torvalds wrote:

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

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.100 / U:1.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site