On Mon, 16 Feb 2015 19:22:38 +0100
Frederic Weisbecker <[email protected]> wrote:
 
> Huang Ying hasn't yet reported a Tested-by but I could reproduce (with both 
> function and function_graph tracers btw)
> and the patch fixed it.

Ah right, it's not the recursion from the function tracer that kills
us, it's the recursion from the preempt_enable_notrace() that does...

preempt_schedule_common()
  --> traced
     preempt_disable_notrace();
     preempt_enable_notrace();
     (see's NEED_RESCHED set)
        preempt_schedule_context();
            preempt_schedule_common();
                --> traced

etc, etc till boom.

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to