Messages in this thread | | | Date | Wed, 24 Jan 2024 02:25:30 +0100 | From | Oleg Nesterov <> | Subject | Re: [PATCH v3 1/3] pidfd: allow pidfd_open() on non-thread-group leaders |
| |
On 01/23, Oleg Nesterov wrote: > > But to be honest I can't understand test_non_tgl_poll_exit() at all. I don't > even understand why the process/thread created by fork_task_with_thread() > should ever exit. And why it creates the "writer" child... Never mind, too > late for me to read the code.
Ah, OK, it passes thread_wait_exit to fork_task_with_thread(), and this "fn" reads sk_pair and does exit() which is actually exit_group().
Oleg.
| |