Re: [v2 PATCH] arm64: replace read_lock to rcu lock in call_break_hook

2015-10-06 Thread Paul E. McKenney
On Mon, Oct 05, 2015 at 01:08:01PM -0700, Shi, Yang wrote: > On 10/1/2015 3:15 PM, Shi, Yang wrote: > >On 10/1/2015 2:27 PM, Paul E. McKenney wrote: > >>On Thu, Oct 01, 2015 at 01:53:51PM -0700, Shi, Yang wrote: > >>>On 10/1/2015 10:08 AM, Steven Rostedt wrote: > On Thu, 1 Oct 2015 09:37:37 -0

Re: [v2 PATCH] arm64: replace read_lock to rcu lock in call_break_hook

2015-10-05 Thread Shi, Yang
On 10/1/2015 3:15 PM, Shi, Yang wrote: On 10/1/2015 2:27 PM, Paul E. McKenney wrote: On Thu, Oct 01, 2015 at 01:53:51PM -0700, Shi, Yang wrote: On 10/1/2015 10:08 AM, Steven Rostedt wrote: On Thu, 1 Oct 2015 09:37:37 -0700 Yang Shi wrote: BUG: sleeping function called from invalid context

Re: [v2 PATCH] arm64: replace read_lock to rcu lock in call_break_hook

2015-10-01 Thread Shi, Yang
On 10/1/2015 2:27 PM, Paul E. McKenney wrote: On Thu, Oct 01, 2015 at 01:53:51PM -0700, Shi, Yang wrote: On 10/1/2015 10:08 AM, Steven Rostedt wrote: On Thu, 1 Oct 2015 09:37:37 -0700 Yang Shi wrote: BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:917 in_atom

Re: [v2 PATCH] arm64: replace read_lock to rcu lock in call_break_hook

2015-10-01 Thread Paul E. McKenney
On Thu, Oct 01, 2015 at 01:53:51PM -0700, Shi, Yang wrote: > On 10/1/2015 10:08 AM, Steven Rostedt wrote: > >On Thu, 1 Oct 2015 09:37:37 -0700 > >Yang Shi wrote: > > > >>BUG: sleeping function called from invalid context at > >>kernel/locking/rtmutex.c:917 > >>in_atomic(): 0, irqs_disabled(): 12

Re: [v2 PATCH] arm64: replace read_lock to rcu lock in call_break_hook

2015-10-01 Thread Shi, Yang
On 10/1/2015 10:08 AM, Steven Rostedt wrote: On Thu, 1 Oct 2015 09:37:37 -0700 Yang Shi wrote: BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:917 in_atomic(): 0, irqs_disabled(): 128, pid: 342, name: perf 1 lock held by perf/342: #0: (break_hook_lock){+.+..

Re: [v2 PATCH] arm64: replace read_lock to rcu lock in call_break_hook

2015-10-01 Thread Steven Rostedt
On Thu, 1 Oct 2015 09:37:37 -0700 Yang Shi wrote: > BUG: sleeping function called from invalid context at > kernel/locking/rtmutex.c:917 > in_atomic(): 0, irqs_disabled(): 128, pid: 342, name: perf > 1 lock held by perf/342: > #0: (break_hook_lock){+.+...}, at: [] > call_break_hook+0x34/0xd0

[v2 PATCH] arm64: replace read_lock to rcu lock in call_break_hook

2015-10-01 Thread Yang Shi
BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:917 in_atomic(): 0, irqs_disabled(): 128, pid: 342, name: perf 1 lock held by perf/342: #0: (break_hook_lock){+.+...}, at: [] call_break_hook+0x34/0xd0 irq event stamp: 62224 hardirqs last enabled at (62223): [] __