Messages in this thread | | | From | Namhyung Kim <> | Subject | Re: [for-next][PATCH v2 1/3] tracing: Fix syscall_*regfunc() vs copy_process() race | Date | Tue, 24 Jun 2014 15:55:41 +0900 |
| |
Hi Steve,
On Fri, 20 Jun 2014 06:45:19 -0400, Steven Rostedt wrote: > From: Oleg Nesterov <oleg@redhat.com> > > 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.
s/tasklist/tasklist_lock/ ?
Probably I'm too late..
Thanks, Namhyung
| |