On Thu, Mar 14, 2013 at 08:52:30PM +0900, Masami Hiramatsu wrote: > Because hash_64() is called from the get_kprobe() inside > int3 handler, kernel causes int3 recursion and crashes if > kprobes user puts a probe on it. > > Usually hash_64() is inlined into caller function, but in > some cases, it has instances by gcc's interprocedural > constant propagation. > > This patch uses __always_inline instead of inline to > prevent gcc from doing such things. > > Changes in v2: > - Use __always_inline instead of using __kprobes > > Signed-off-by: Masami Hiramatsu <[email protected]> > Reported-by: Timo Juhani Lindfors <[email protected]> > Cc: "David S. Miller" <[email protected]> > Cc: Nadia Yvette Chambers <[email protected]> > Cc: Pavel Emelyanov <[email protected]> > Cc: Jiri Kosina <[email protected]> > Cc: Ananth N Mavinakayanahalli <[email protected]> > Cc: Ingo Molnar <[email protected]> > Cc: Linus Torvalds <[email protected]>
Acked-by: Ananth N Mavinakayanahalli <[email protected]> -- 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/

