Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1469547

Re: [PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in nscd

From Oleg Nesterov <oleg@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in nscd
Date 2016-08-24 17:40 +0200
Message-ID <s9Irv-4bS-13@gated-at.bofh.it> (permalink)
References <s9mAG-6kW-25@gated-at.bofh.it> <s9n3J-6xg-55@gated-at.bofh.it> <s9BzH-80z-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@redhat.com>

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in nscd Michal Hocko <mhocko@kernel.org> - 2016-08-23 18:20 +0200
  Re: [PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in         nscd Oleg Nesterov <oleg@redhat.com> - 2016-08-23 18:50 +0200
    Re: [PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in  nscd Michal Hocko <mhocko@kernel.org> - 2016-08-24 10:20 +0200
      Re: [PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in  nscd Michal Hocko <mhocko@kernel.org> - 2016-08-24 17:40 +0200
        Re: [PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in  nscd Michal Hocko <mhocko@kernel.org> - 2016-08-31 08:50 +0200
      Re: [PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in         nscd Oleg Nesterov <oleg@redhat.com> - 2016-08-24 17:40 +0200

csiph-web