[PATCH 0/5] ftrace: fix ftrace misleading comments for arch using it

From: Li Bin
Date: Fri Dec 04 2015 - 02:29:12 EST


Fix the following similar misleading comments of ftrace for arch
ia64/metag/powerpc/sh/x86:

Note: Due to modules and __init, code can
disappear and change, we need to protect against faulting
as well as code changing. We do this by using the
probe_kernel_* functions.

No real locking needed, this code is run through
kstop_machine, or before SMP starts.

Cc: Tony Luck <tony.luck@xxxxxxxxx>
Cc: Fenghua Yu <fenghua.yu@xxxxxxxxx>
Cc: linux-ia64@xxxxxxxxxxxxxxx
Cc: James Hogan <james.hogan@xxxxxxxxxx>
Cc: linux-metag@xxxxxxxxxxxxxxx
Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
Cc: linuxppc-dev@xxxxxxxxxxxxxxxx
Cc: linux-sh@xxxxxxxxxxxxxxx
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
"Cc: H. Peter Anvin" <hpa@xxxxxxxxx>
Cc: x86@xxxxxxxxxx

Li Bin (5):
ia64: ftrace: fix the comments for ftrace_modify_code
metag: ftrace: fix the comments for ftrace_modify_code
powerpc: ftrace: fix the comments for ftrace_modify_code
sh: ftrace: fix the comments for ftrace_modify_code
x86: ftrace: fix the comments for ftrace_modify_code_direct

arch/ia64/kernel/ftrace.c | 13 ++++++-------
arch/metag/kernel/ftrace.c | 12 ++++++------
arch/powerpc/kernel/ftrace.c | 13 ++++++-------
arch/sh/kernel/ftrace.c | 13 ++++++-------
arch/x86/kernel/ftrace.c | 13 ++++++-------
5 files changed, 30 insertions(+), 34 deletions(-)

--
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/