]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ftrace: Have PPC skip updating with stop_machine()
authorSteven Rostedt <srostedt@redhat.com>
Thu, 26 Apr 2012 08:31:17 +0000 (08:31 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 3 Jul 2012 04:14:38 +0000 (14:14 +1000)
commit78daf8ba19df6355ce851c3c2f591182315b6974
treeaa6b3c6f3ebd396d458ebcdaf3dab7809df3f06a
parent325f442ef857856c9ecaea2864a4797a9bec53da
powerpc/ftrace: Have PPC skip updating with stop_machine()

PowerPC does not have the synchronization issues that x86 has with
modifying code on one CPU while another CPU is executing it.
The other CPU will either see the old or new code without any
issues, unlike x86 which may issue a GPF.

Instead of calling the heavy stop_machine, just update the code.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/ftrace.c