Messages in this thread | | | Date | Mon, 10 Nov 2014 22:59:59 +0100 | From | Oleg Nesterov <> | Subject | [PATCH 0/5] exit: reparent zombie fix + cleanups/optimizations |
| |
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(-)
| |