On Fri, Mar 06, 2009 at 12:52:34PM -0800, Roland McGrath wrote: > > With the current utrace/master tree, I am seeing that utrace_attach_task() > > never returns when invoked from the clone callback. The same module > > works fine with prior utrace (rcu as well as with my embed version). > > I changed the utrace_attach_delay() logic recently. That is probably it. > Please post your test case.
The issue is that target->real_parent == current->real_parent and not current on a CLONE_THREAD|CLONE_PARENT. So we keep looping in the do-while. Ananth