Re: [PATCH] sched: clarify ptrace's effect on task_struct->parent

From: Ziran Zhang

Date: Thu Sep 10 2026 - 09:23:14 EST


On Thu, 10 Sep 2026 14:54:04 +0200, Oleg Nesterov <oleg@xxxxxxxxxx> 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