diff options
| author | Oleg Nesterov <[email protected]> | 2009-04-02 16:58:19 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-04-02 19:05:00 -0700 |
| commit | 5dfc80be73dd0c212d2e6dd8dbf5afa07e680bbe (patch) | |
| tree | ac173fb3fcfe2970781591f620f22d30f4ce090c /tools/perf/scripts/python | |
| parent | 39c626ae47c469abdfd30c6e42eff884931380d6 (diff) | |
forget_original_parent: do not abuse child->ptrace_entry
By discussion with Roland.
- Use ->sibling instead of ->ptrace_entry to chain the need to be
release_task'd childs. Nobody else can use ->sibling, this task
is EXIT_DEAD and nobody can find it on its own list.
- rename ptrace_dead to dead_childs.
- Now that we don't have the "parallel" untrace code, change back
reparent_thread() to return void, pass dead_childs as an argument.
Actually, I don't understand why do we notify /sbin/init when we
reparent a zombie, probably it is better to reap it unconditionally.
[[email protected]: s/childs/children/]
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: "Metzger, Markus T" <[email protected]>
Cc: Roland McGrath <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions