From: Ziran Zhang <zhangcoder@yeah.net>
To: Oleg Nesterov <oleg@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
Juri Lelli <juri.lelli@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
Steven Rostedt <rostedt@goodmis.org>,
Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>,
Valentin Schneider <vschneid@redhat.com>,
K Prateek Nayak <kprateek.nayak@amd.com>,
linux-kernel@vger.kernel.org, Ziran Zhang <zhangcoder@yeah.net>
Subject: Re: [PATCH] sched: clarify ptrace's effect on task_struct->parent
Date: Thu, 10 Sep 2026 21:16:56 +0800 [thread overview]
Message-ID: <20260910131656.7470-1-zhangcoder@yeah.net> (raw)
In-Reply-To: <aqKobFZ_a_Nvj_Wi@redhat.com>
On Thu, 10 Sep 2026 14:54:04 +0200, Oleg Nesterov <oleg@redhat.com> wrote:
> Well. Not sure this comment needs to be updated...
>
> Anyway, this looks like overdocumentation to me. Perhaps just
>
> /* Recipient of SIGCHLD, wait4() reports: ->real_parent or ptracer */
>
> ?
>
> Oleg.
Agreed, the long form is overdocumenting it. I'll send a v2 patch with your
suggestion.
Best,
Ziran Zhang
next prev parent reply other threads:[~2026-09-10 13:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-10 4:17 Ziran Zhang
2026-09-10 12:54 ` Oleg Nesterov
2026-09-10 13:16 ` Ziran Zhang [this message]
2026-09-10 13:30 ` [PATCH v2] " Ziran Zhang
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=20260910131656.7470-1-zhangcoder@yeah.net \
--to=zhangcoder@yeah.net \
--cc=bsegall@google.com \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=kprateek.nayak@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=oleg@redhat.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.com \
/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®