Re: [PATCH 3/5] powerpc/kprobes: Fix warnings from __this_cpu_read() on preempt kernels

2017-09-16 Thread Naveen N. Rao
On 2017/09/14 03:10AM, Masami Hiramatsu wrote: > On Thu, 14 Sep 2017 12:17:20 +0530 > "Naveen N. Rao" wrote: > > > On 2017/09/13 05:36PM, Masami Hiramatsu wrote: > > > On Thu, 14 Sep 2017 02:50:34 +0530 > > > "Naveen N. Rao"

Re: [PATCH 3/5] powerpc/kprobes: Fix warnings from __this_cpu_read() on preempt kernels

2017-09-14 Thread Masami Hiramatsu
On Thu, 14 Sep 2017 12:17:20 +0530 "Naveen N. Rao" wrote: > On 2017/09/13 05:36PM, Masami Hiramatsu wrote: > > On Thu, 14 Sep 2017 02:50:34 +0530 > > "Naveen N. Rao" wrote: > > > > > Kamalesh pointed out that we are getting the

Re: [PATCH 3/5] powerpc/kprobes: Fix warnings from __this_cpu_read() on preempt kernels

2017-09-14 Thread Kamalesh Babulal
On Thursday 14 September 2017 02:50 AM, Naveen N. Rao wrote: Kamalesh pointed out that we are getting the below call traces with livepatched functions when we enable CONFIG_PREEMPT: [ 495.470721] BUG: using __this_cpu_read() in preemptible [] code: cat/8394 [ 495.471167] caller is

Re: [PATCH 3/5] powerpc/kprobes: Fix warnings from __this_cpu_read() on preempt kernels

2017-09-14 Thread Naveen N. Rao
On 2017/09/13 05:36PM, Masami Hiramatsu wrote: > On Thu, 14 Sep 2017 02:50:34 +0530 > "Naveen N. Rao" wrote: > > > Kamalesh pointed out that we are getting the below call traces with > > livepatched functions when we enable CONFIG_PREEMPT: > > > > [ 495.470721]

Re: [PATCH 3/5] powerpc/kprobes: Fix warnings from __this_cpu_read() on preempt kernels

2017-09-13 Thread Masami Hiramatsu
On Thu, 14 Sep 2017 02:50:34 +0530 "Naveen N. Rao" wrote: > Kamalesh pointed out that we are getting the below call traces with > livepatched functions when we enable CONFIG_PREEMPT: > > [ 495.470721] BUG: using __this_cpu_read() in preemptible [] code:

[PATCH 3/5] powerpc/kprobes: Fix warnings from __this_cpu_read() on preempt kernels

2017-09-13 Thread Naveen N. Rao
Kamalesh pointed out that we are getting the below call traces with livepatched functions when we enable CONFIG_PREEMPT: [ 495.470721] BUG: using __this_cpu_read() in preemptible [] code: cat/8394 [ 495.471167] caller is is_current_kprobe_addr+0x30/0x90 [ 495.471171] CPU: 4 PID: 8394