From 80f9a237983740508b1676bd56fdfd68ebe2d12d Mon Sep 17 00:00:00 2001 From: "hugh@veritas.com" Date: Fri, 18 Mar 2005 21:41:52 -0800 Subject: [PATCH] [PATCH] tasklist left locked On 4-way SMP, about one reboot in twenty hangs while killing processes: exit needs exclusive tasklist_lock, but something still holds read_lock. do_signal_stop race case misses unlock, and fixing it fixes the symptom. Signed-off-by: Hugh Dickins Acked-by: Roland McGrath Signed-off-by: Chris Wright Signed-off-by: Greg Kroah-Hartman --- kernel/signal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/signal.c b/kernel/signal.c index 9e87ab3f8f21f..63ae3d5843903 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -1728,6 +1728,7 @@ do_signal_stop(int signr) * with another processor delivering a stop signal, * then the SIGCONT that wakes us up should clear it. */ + read_unlock(&tasklist_lock); return 0; } -- 2.47.2