[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110623133808.GP30101@htj.dyndns.org>
Date: Thu, 23 Jun 2011 15:38:08 +0200
From: Tejun Heo <tj@...nel.org>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
hch@...radead.org
Subject: Re: [PATCH 4/8] make do_notify_parent() __must_check, update the
callers
On Wed, Jun 22, 2011 at 11:09:09PM +0200, Oleg Nesterov wrote:
> Change other callers of do_notify_parent() to check the value it
> returns, this makes the subsequent task_detached() unnecessary.
> Mark do_notify_parent() as __must_check.
>
> Use thread_group_leader() instead of !task_detached() to check
> if we need to notify the real parent in wait_task_zombie().
>
> Remove the stale comment in release_task(). "just for sanity" is
> no longer true, we have to set EXIT_DEAD to avoid the races with
> do_wait().
>
> Signed-off-by: Oleg Nesterov <oleg@...hat.com>
Acked-by: Tejun Heo <tj@...nel.org>
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists