From: Roland McGrath <roland@redhat.com>
To: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] wait_task_zombie: don't fight with non-existing race with a dying ptracee
Date: Fri, 17 Aug 2007 13:04:15 -0700 (PDT) [thread overview]
Message-ID: <20070817200415.85ADA4D05B2@magilla.localdomain> (raw)
In-Reply-To: Oleg Nesterov's message of Friday, 17 August 2007 19:37:40 +0400 <20070817153740.GA1098@tv-sign.ru>
> (textually depends on wait_task_zombie-remove-unneeded-child-signal-check.patch)
>
> The "p->exit_signal == -1 && p->ptrace == 0" check and the comment are bogus.
> We already did exactly the same check in eligible_child(), we did not drop
> tasklist_lock since then, and both variables need write_lock(tasklist) to be
> changed.
I think this is correct. IIRC, when the check was added, ->ptrace could be
cleared some other way.
Thanks,
Roland
prev parent reply other threads:[~2007-08-17 20:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-17 15:37 Oleg Nesterov
2007-08-17 20:04 ` Roland McGrath [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070817200415.85ADA4D05B2@magilla.localdomain \
--to=roland@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@tv-sign.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®