[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160824153159.GA25033@redhat.com>
Date: Wed, 24 Aug 2016 17:32:00 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Michal Hocko <mhocko@...nel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
LKML <linux-kernel@...r.kernel.org>,
Roland McGrath <roland@...k.frob.com>,
Andreas Schwab <schwab@...e.com>,
William Preston <wpreston@...e.com>
Subject: Re: [PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in
nscd
On 08/24, Michal Hocko wrote:
>
> Sounds better?
> diff --git a/kernel/fork.c b/kernel/fork.c
> index b89f0eb99f0a..ddde5849df81 100644
> --- a/kernel/fork.c
> +++ b/kernel/fork.c
> @@ -914,7 +914,8 @@ void mm_release(struct task_struct *tsk, struct mm_struct *mm)
>
> /*
> * Signal userspace if we're not exiting with a core dump
> - * or a killed vfork parent which shouldn't touch this mm.
> + * because we want to leave the value intact for debugging
> + * purposes.
> */
> if (tsk->clear_child_tid) {
> if (!(tsk->signal->flags & SIGNAL_GROUP_COREDUMP) &&
Yes, thanks Michal!
Acked-by: Oleg Nesterov <oleg@...hat.com>
Powered by blists - more mailing lists