[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120426183116.857877522@goodmis.org>
Date: Thu, 26 Apr 2012 14:31:16 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel@...r.kernel.org, linuxppc-dev@...abs.org
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>
Subject: [PATCH 0/3][RFC] powerpc/ftrace: Removal of stop machine (and other goodies)
Benjamin,
You once told me on IRC that powerpc has no problem with modifying
code on one CPU that may be executing on another CPU. With the tests I
made on my PPC64 (2 CPUs) box, it seems to be the case.
The first patch removes stop_machine from powerpc. The other patches
add some error handling if ftrace detects an update didn't occur
with 'patch_instruction'.
This is just an RFC, but if it's fine, feel free to pull them into
your tree.
-- Steve
Steven Rostedt (3):
ftrace/ppc: Have PPC skip updating with stop_machine()
powerpc: Have patch_instruction detect faults
ftrace/ppc: Use patch_instruction instead of probe_kernel_write()
----
arch/powerpc/include/asm/code-patching.h | 4 +-
arch/powerpc/kernel/ftrace.c | 69 ++++++++++++++++++++++++------
arch/powerpc/lib/code-patching.c | 14 ++++--
3 files changed, 68 insertions(+), 19 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists