Re: [PATCH] ftrace: x86 use copy to and from user functions

From: Ingo Molnar
Date: Thu Aug 21 2008 - 06:31:47 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> The modification of code is performed either by kstop_machine, before
> SMP starts, or on module code before the module is executed. There is
> no reason to do the modifications from assembly. The copy to and from
> user functions are sufficient and produces cleaner and easier to read
> code.
>
> Thanks to Benjamin Herrenschmidt for suggesting the idea.
>
> Signed-off-by: Steven Rostedt <srostedt@xxxxxxxxxx>

applied to tip/tracing/ftrace - thanks Steve!

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