+5
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
"ftrace: use struct pid" commit 978f3a45 converted ftrace_pid_trace to "struct pid*". But we can't use do_each_pid_task() without rcu_read_lock() even if we know the pid itself can't go away (it was pinned in ftrace_pid_write). The exiting task can detach itself from this pid at any moment. Signed-off-by:Oleg Nesterov <oleg@redhat.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>