Re: [PATCH v2 2/2] pidfs: ensure consistent ENOENT/ESRCH reporting
From: Oleg Nesterov
Date: Fri Apr 11 2025 - 11:30:55 EST
On 04/11, Christian Brauner wrote:
>
> I'm verbose. I hope you can live with it:
>
> /*
> * While holding the pidfd waitqueue lock removing the task
> * linkage for the thread-group leader pid (PIDTYPE_TGID) isn't
> * possible. Thus, if there's still task linkage for PIDTYPE_PID
> * not having thread-group leader linkage for the pid means it
> * wasn't a thread-group leader in the first place.
> */
>
> :)
LGTM ;)
Oleg.