diff options
| author | Oleg Nesterov <[email protected]> | 2007-10-16 23:27:23 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-10-17 08:42:54 -0700 |
| commit | 6db840fa7887980ef68a649640d506fe069eef0c (patch) | |
| tree | 6248c1e65b572f1c2b14c46848e5a18df003f60e /include/linux | |
| parent | 356d6d5058c8082b9e811838ab2fa27825c947e4 (diff) | |
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 <[email protected]>
Cc: Roland McGrath <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions