Re: [PATCH] Fix lockup related to stop_machine being stuck in __do_softirq.

2013-06-06 Thread Tejun Heo
On Wed, Jun 05, 2013 at 09:29:54PM -0700, Eric Dumazet wrote: > On Wed, 2013-06-05 at 21:25 -0700, gree...@candelatech.com wrote: > > From: Ben Greear > > > diff --git a/kernel/softirq.c b/kernel/softirq.c > > index 14d7758..f150ad6 100644 > > --- a/kernel/softirq.c > > +++ b/kernel/softirq.c > >

Re: [PATCH] Fix lockup related to stop_machine being stuck in __do_softirq.

2013-06-05 Thread Eric Dumazet
On Wed, 2013-06-05 at 21:25 -0700, gree...@candelatech.com wrote: > From: Ben Greear > diff --git a/kernel/softirq.c b/kernel/softirq.c > index 14d7758..f150ad6 100644 > --- a/kernel/softirq.c > +++ b/kernel/softirq.c > @@ -204,6 +204,7 @@ EXPORT_SYMBOL(local_bh_enable_ip); > * should not be ab

[PATCH] Fix lockup related to stop_machine being stuck in __do_softirq.

2013-06-05 Thread greearb
From: Ben Greear The stop machine logic can lock up if all but one of the migration threads make it through the disable-irq step and the one remaining thread gets stuck in __do_softirq. The reason __do_softirq can hang is that it has a bail-out based on jiffies timeout, but in the lockup case, j