Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tracing: Fix syscall_*regfunc() vs copy_process() race
syscall_regfunc() and syscall_unregfunc() should set/clear TIF_SYSCALL_TRACEPOINT system-wide, but do_each_thread() can race with copy_process() and miss the new child which was not added to the process/thread lists yet. Change copy_process() to update the child's TIF_SYSCALL_TRACEPOINT under tasklist. Link: http://lkml.kernel.org/p/[email protected] Cc: [email protected] # 2.6.33 Fixes: a871bd3 "tracing: Add syscall tracepoints" Acked-by: Frederic Weisbecker <[email protected]> Acked-by: Paul E. McKenney <[email protected]> Signed-off-by: Oleg Nesterov <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
- Loading branch information