Re: [PATCH] percpu: use notrace variant of preempt_disable/preempt_enable

2016-11-08 Thread Martin Schwidefsky
On Mon, 7 Nov 2016 12:27:16 -0500 Steven Rostedt wrote: > On Thu, 3 Nov 2016 14:58:38 +0100 > Heiko Carstens wrote: > > > Commit 345ddcc882d8 ("ftrace: Have set_ftrace_pid use the bitmap like > > events do") added a couple of this_cpu_read calls to the ftrace code. > > > > On x86 this is not a

Re: [PATCH] percpu: use notrace variant of preempt_disable/preempt_enable

2016-11-07 Thread Steven Rostedt
On Thu, 3 Nov 2016 14:58:38 +0100 Heiko Carstens wrote: > Commit 345ddcc882d8 ("ftrace: Have set_ftrace_pid use the bitmap like > events do") added a couple of this_cpu_read calls to the ftrace code. > > On x86 this is not a problem, since it has single instructions to read > percpu data. Other

[PATCH] percpu: use notrace variant of preempt_disable/preempt_enable

2016-11-03 Thread Heiko Carstens
Commit 345ddcc882d8 ("ftrace: Have set_ftrace_pid use the bitmap like events do") added a couple of this_cpu_read calls to the ftrace code. On x86 this is not a problem, since it has single instructions to read percpu data. Other architectures which use the generic variant now have additional pree