Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-03 Thread Steven Rostedt
On Fri, 2013-03-01 at 11:17 +0100, Thomas Gleixner wrote: > > Signed-off-by: Yong Zhang > > Cc: Thomas Gleixner > > Cc: Steven Rostedt > > --- > > kernel/futex.c |3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/kernel/futex.c b/kernel/futex.c > > index

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-03 Thread Yong Zhang
On Fri, Mar 01, 2013 at 11:17:42AM +0100, Thomas Gleixner wrote: > On Fri, 1 Mar 2013, Yong Zhang wrote: > > > From: Yong Zhang > > > > Otherwise, below warning is shown somtimes when running some test: > > > > WARNING: at kernel/sched/core.c:3423 migrate_disable+0xbf/0xd0() > > Hardware name:

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-03 Thread Yong Zhang
On Fri, Mar 01, 2013 at 11:17:42AM +0100, Thomas Gleixner wrote: On Fri, 1 Mar 2013, Yong Zhang wrote: From: Yong Zhang yong.zh...@windriver.com Otherwise, below warning is shown somtimes when running some test: WARNING: at kernel/sched/core.c:3423 migrate_disable+0xbf/0xd0()

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-03 Thread Steven Rostedt
On Fri, 2013-03-01 at 11:17 +0100, Thomas Gleixner wrote: Signed-off-by: Yong Zhang yong.zha...@gmail.com Cc: Thomas Gleixner t...@linutronix.de Cc: Steven Rostedt rost...@goodmis.org --- kernel/futex.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-01 Thread John Kacur
On Fri, Mar 1, 2013 at 1:01 PM, John Kacur wrote: > On Fri, Mar 1, 2013 at 2:36 AM, Yong Zhang wrote: >> From: Yong Zhang >> >> Otherwise, below warning is shown somtimes when running some test: > > It would be nice to know which test! > ->o SNIP Luis points out to me that you can tell

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-01 Thread John Kacur
On Fri, Mar 1, 2013 at 2:36 AM, Yong Zhang wrote: > From: Yong Zhang > > Otherwise, below warning is shown somtimes when running some test: It would be nice to know which test! ->o SNIP -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-01 Thread Thomas Gleixner
On Fri, 1 Mar 2013, Yong Zhang wrote: > From: Yong Zhang > > Otherwise, below warning is shown somtimes when running some test: > > WARNING: at kernel/sched/core.c:3423 migrate_disable+0xbf/0xd0() > Hardware name: OptiPlex 755 > Modules linked in: floppy parport parport_pc minix > Pid: 1800,

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-01 Thread Thomas Gleixner
On Fri, 1 Mar 2013, Yong Zhang wrote: From: Yong Zhang yong.zh...@windriver.com Otherwise, below warning is shown somtimes when running some test: WARNING: at kernel/sched/core.c:3423 migrate_disable+0xbf/0xd0() Hardware name: OptiPlex 755 Modules linked in: floppy parport parport_pc

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-01 Thread John Kacur
On Fri, Mar 1, 2013 at 2:36 AM, Yong Zhang yong.zha...@gmail.com wrote: From: Yong Zhang yong.zh...@windriver.com Otherwise, below warning is shown somtimes when running some test: It would be nice to know which test! -o SNIP -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-01 Thread John Kacur
On Fri, Mar 1, 2013 at 1:01 PM, John Kacur jka...@redhat.com wrote: On Fri, Mar 1, 2013 at 2:36 AM, Yong Zhang yong.zha...@gmail.com wrote: From: Yong Zhang yong.zh...@windriver.com Otherwise, below warning is shown somtimes when running some test: It would be nice to know which test!

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-02-28 Thread Yong Zhang
On Fri, Mar 1, 2013 at 9:36 AM, Yong Zhang wrote: > --- a/kernel/futex.c > +++ b/kernel/futex.c > @@ -562,16 +562,17 @@ void exit_pi_state_list(struct task_struct *curr) > > spin_lock(>lock); > > - raw_spin_lock_irq(>pi_lock); > /* >

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-02-28 Thread Yong Zhang
On Fri, Mar 1, 2013 at 9:36 AM, Yong Zhang yong.zha...@gmail.com wrote: --- a/kernel/futex.c +++ b/kernel/futex.c @@ -562,16 +562,17 @@ void exit_pi_state_list(struct task_struct *curr) spin_lock(hb-lock); - raw_spin_lock_irq(curr-pi_lock); /*