Re: [PATCH] kernel/locking/locktorture: fix deadlock in 'rw_lock_irq' type

From: Paul E. McKenney
Date: Fri Mar 06 2015 - 20:31:18 EST


On Fri, Mar 06, 2015 at 05:03:00PM -0800, Davidlohr Bueso wrote:
> On Fri, 2015-03-06 at 16:37 -0800, Paul E. McKenney wrote:
> > On Sat, Mar 07, 2015 at 03:06:53AM +0300, Alexey Kodanev wrote:
> > > torture_rwlock_read_unlock_irq() must use read_unlock_irqrestore()
> > > instead of write_unlock_irqrestore().
> > >
> > > Use read_unlock_irqrestore() instead of write_unlock_irqrestore().
> > >
> > > Signed-off-by: Alexey Kodanev <alexey.kodanev@xxxxxxxxxx>
> >
> > Good catch! If Davidlohr has no objections, I will queue this one.
>
> Dear me, yes that looks completely borken. Thanks for the fix.

Queued for v4.2. (If this is more urgent than that, please let me know.)

Thanx, Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/