From: Steven Rostedt (Red Hat) Date: Wed, 12 Feb 2014 01:19:44 +0000 (-0500) Subject: ftrace/x86: Use breakpoints for converting function graph caller X-Git-Tag: v3.14-rc3~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87fbb2ac6073a7039303517546a76074feb14c84;p=pandora-kernel.git ftrace/x86: Use breakpoints for converting function graph caller When the conversion was made to remove stop machine and use the breakpoint logic instead, the modification of the function graph caller is still done directly as though it was being done under stop machine. As it is not converted via stop machine anymore, there is a possibility that the code could be layed across cache lines and if another CPU is accessing that function graph call when it is being updated, it could cause a General Protection Fault. Convert the update of the function graph caller to use the breakpoint method as well. Cc: H. Peter Anvin Cc: stable@vger.kernel.org # 3.5+ Fixes: 08d636b6d4fb "ftrace/x86: Have arch x86_64 use breakpoints instead of stop machine" Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed