On Thu, Mar 20, 2025 at 03:28:17PM +0100, Oleg Nesterov wrote: > On 03/20, Christian Brauner wrote: > > > > Co-Developed-by: Oleg Nesterov <oleg@xxxxxxxxxx> > > Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx> > > Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx> > > --- > > fs/pidfs.c | 9 +++++---- > > kernel/exit.c | 6 +++--- > > kernel/signal.c | 3 +-- > > 3 files changed, 9 insertions(+), 9 deletions(-) > > Thanks, LGTM. > > Todo: > > - As we already discussed, do_notify_pidfd() can be called > twice from exit_notify() paths, we can avoid this. > > But this connects to another minor issue: > > - With this change, debuggers can no longer use PIDFD_THREAD. > I guess we don't really care, I don't think PIDFD_THREAD was > ever used for this purpose. but perhaps we can change this If you have ideas how to let them use it I'm all for it! > or at least document somewhere... > > I'll try to do this but not today and (most probably) not tomorrow. Cool, sounds great!