Re: [PATCH -tip v2 2/3] [BUGFIX] kprobes/x86: Prohibit probing on debug_stack_*

2013-11-01 Thread Steven Rostedt
On Fri, 01 Nov 2013 11:25:34 + Masami Hiramatsu wrote: > Prohibit probing on debug_stack_reset and debug_stack_set_zero. > Since the both functions are called from TRACE_IRQS_ON/OFF_DEBUG > macros which run in int3 ist entry, probing it may cause a soft > lockup. > > This happens when the ke

[PATCH -tip v2 2/3] [BUGFIX] kprobes/x86: Prohibit probing on debug_stack_*

2013-11-01 Thread Masami Hiramatsu
Prohibit probing on debug_stack_reset and debug_stack_set_zero. Since the both functions are called from TRACE_IRQS_ON/OFF_DEBUG macros which run in int3 ist entry, probing it may cause a soft lockup. This happens when the kernel built with CONFIG_DYNAMIC_FTRACE=y and CONFIG_TRACE_IRQFLAGS=y. Sig