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

From: Davidlohr Bueso
Date: Fri Mar 06 2015 - 20:03:17 EST


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.

--
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/