Oleg Nesterov 6db840fa78 exec: RT sub-thread can livelock and monopolize CPU on exec
de_thread() yields waiting for ->group_leader to be a zombie. This deadlocks
if an rt-prio execer shares the same cpu with ->group_leader. Change the code
to use ->group_exit_task/notify_count mechanics.

This patch certainly uglifies the code, perhaps someone can suggest something
better.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-17 08:42:54 -07:00
..
2007-07-16 09:05:47 -07:00
2007-10-01 07:52:23 -07:00
2007-10-01 07:52:23 -07:00
2007-10-17 08:42:48 -07:00
2007-07-16 09:05:50 -07:00
2007-10-16 09:43:10 -07:00
2007-10-11 22:11:12 +02:00
2007-07-16 09:05:47 -07:00
2007-10-17 08:42:50 -07:00
2007-10-11 22:11:12 +02:00
2007-10-16 09:43:04 -07:00
2007-07-16 09:05:49 -07:00
2007-07-16 09:05:49 -07:00
2007-10-15 17:00:13 +02:00
2007-07-16 09:05:50 -07:00
2007-10-01 07:52:23 -07:00
2007-10-17 08:42:48 -07:00
2007-08-27 10:27:48 -07:00