X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=kernel%2Fexit.c;h=b4df21937216e1704670d89e8ef8fe8aa9aee810;hb=25da9263710ec94c964259c79fa9a3a635cd3a50;hp=50d2e93c36ea6ff421192e7fb0f92a3cb0df6e63;hpb=3c2e81ef344a90bb0a39d84af6878b4aeff568a2;p=~andy%2Flinux diff --git a/kernel/exit.c b/kernel/exit.c index 50d2e93c36e..b4df2193721 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -72,18 +72,6 @@ static void __unhash_process(struct task_struct *p, bool group_dead) list_del_rcu(&p->tasks); list_del_init(&p->sibling); __this_cpu_dec(process_counts); - /* - * If we are the last child process in a pid namespace to be - * reaped, notify the reaper sleeping zap_pid_ns_processes(). - */ - if (IS_ENABLED(CONFIG_PID_NS)) { - struct task_struct *parent = p->real_parent; - - if ((task_active_pid_ns(parent)->child_reaper == parent) && - list_empty(&parent->children) && - (parent->flags & PF_EXITING)) - wake_up_process(parent); - } } list_del_rcu(&p->thread_group); }