lkml.org 
[lkml]   [2015]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [LKP] [sched] BUG: kernel boot hang
On Mon, 16 Feb 2015 19:22:38 +0100
Frederic Weisbecker <fweisbec@gmail.com> 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



\
 
 \ /
  Last update: 2015-02-16 19:41    [W:0.078 / U:11.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site