Re: [PATCH v6 5/8] x86: do not trace __probe_kernel_read

2014-01-14 Thread Steven Rostedt
On Tue, 10 Dec 2013 16:42:17 +0100 Petr Mladek wrote: > probe_kernel_read is used when modifying function calls in > ftrace_replace_code, > see arch/x86/kernel/ftrace.c. On x86, the code is replaced using int3 guard. > All functions are patched in parallel to reduce an expensive synchronization

[PATCH v6 5/8] x86: do not trace __probe_kernel_read

2013-12-10 Thread Petr Mladek
probe_kernel_read is used when modifying function calls in ftrace_replace_code, see arch/x86/kernel/ftrace.c. On x86, the code is replaced using int3 guard. All functions are patched in parallel to reduce an expensive synchronization of all CPUs. The result is that all affected functions are called