[PATCH 0/5] exit: reparent zombie fix + cleanups/optimizations

From: Oleg Nesterov
Date: Mon Nov 10 2014 - 17:00:31 EST


Hello.

On 11/07, Oleg Nesterov wrote:
>
> I tried to optimize the usage of tasklist_lock in exit_notify() paths
> but found the bug which should be fixed first: the EXIT_DEAD setting
> in reparent_leader() can break the task_ppid_nr_ns()-like code and
> ptrace_parent().
>
> I am still thinking about the "right" fix, but whatever we do we need
> to cleanup these users, probably before the fix.

Yes, we need to cleanup these users but lets fix the bug first. See the
changelog in 2/5.

Plus cleanups + initial (micro)optimizations, more to come.

Oleg.

include/linux/ptrace.h | 2 +-
kernel/exit.c | 51 +++++++++++++++++++----------------------------
kernel/ptrace.c | 23 ++------------------
kernel/sched/core.c | 4 ++-
4 files changed, 28 insertions(+), 52 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/