]> err.no Git - linux-2.6/blobdiff - kernel/signal.c
Revert "[PATCH] sched: fix interactive task starvation"
[linux-2.6] / kernel / signal.c
index 5ccaac505e8dabd792eab331cf4e80bfa9a5f4cf..e5f8aea78ffebd71a1322ca8279321aac3b077e6 100644 (file)
@@ -868,7 +868,6 @@ __group_complete_signal(int sig, struct task_struct *p)
                if (t == NULL)
                        /* restart balancing at this thread */
                        t = p->signal->curr_target = p;
-               BUG_ON(t->tgid != p->tgid);
 
                while (!wants_signal(sig, t)) {
                        t = next_thread(t);
@@ -1755,9 +1754,9 @@ relock:
                        /* Let the debugger run.  */
                        ptrace_stop(signr, signr, info);
 
-                       /* We're back.  Did the debugger cancel the sig or group_exit? */
+                       /* We're back.  Did the debugger cancel the sig */
                        signr = current->exit_code;
-                       if (signr == 0 || current->signal->flags & SIGNAL_GROUP_EXIT)
+                       if (signr == 0)
                                continue;
 
                        current->exit_code = 0;