On 10. 03. 26, 9:56, Jiri Slaby wrote:
Thomas,

On 10. 03. 26, 9:09, Thomas Gleixner wrote:
    2) task is not longer in the task list w/o going through do_exit()

After a quick look (I have to run now, so I could be completely wrong): what about the task is not in the list *yet*. You use RCU -> for_each_process_thread(), so there could be a race with attach_pid() protected by tasklist_lock.

Not attach_pid(), that's irrelevant here.

But one line below in copy_process(): list_add_tail().

thanks,
--
js
suse labs


Reply via email to