Re: [PATCH] locktorture: Fix Oops when reader/writer count is 0

From: Paul E. McKenney
Date: Wed Nov 08 2017 - 09:17:51 EST


On Wed, Nov 08, 2017 at 09:27:50AM +0100, Peter Zijlstra wrote:
> On Tue, Nov 07, 2017 at 02:15:55PM -0800, Paul E. McKenney wrote:
> > But Jeremy's list of email addresses is what you would expect from
> > looking at MAINTAINERS, so how about the following patch?
>
> True; I tend to also look at git history (as goes get_maintainers.pl
> IIRC).

Me too, and that certainly is best practice.

> > commit 58322063498c8f5a3cc88f95bee237a0ce81f70a
> > Author: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
> > Date: Tue Nov 7 14:10:03 2017 -0800
> >
> > torture: Place all torture-test modules in one MAINTAINERS group
> >
> > There is some confusion about where patches to kernel/torture.c
> > and kernel/locking/locktorture.c should be sent. This commit
> > therefore updates MAINTAINERS appropriately.
> >
> > Reported-by: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> > Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
>
> Seems fair;
>
> Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>

Applied, thank you!

Thanx, Paul

> > diff --git a/MAINTAINERS b/MAINTAINERS
> > index 2d3d750b19c0..eab868adedc6 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -8091,6 +8091,7 @@ F: arch/*/include/asm/rwsem.h
> > F: include/linux/seqlock.h
> > F: lib/locking*.[ch]
> > F: kernel/locking/
> > +X: kernel/locking/locktorture.c
> >
> > LOGICAL DISK MANAGER SUPPORT (LDM, Windows 2000/XP/Vista Dynamic Disks)
> > M: "Richard Russon (FlatCap)" <ldm@xxxxxxxxxxx>
> > @@ -11318,15 +11319,6 @@ L: linux-wireless@xxxxxxxxxxxxxxx
> > S: Orphan
> > F: drivers/net/wireless/ray*
> >
> > -RCUTORTURE MODULE
> > -M: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
> > -M: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
> > -L: linux-kernel@xxxxxxxxxxxxxxx
> > -S: Supported
> > -T: git git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
> > -F: Documentation/RCU/torture.txt
> > -F: kernel/rcu/rcutorture.c
> > -
> > RCUTORTURE TEST FRAMEWORK
> > M: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
> > M: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
> > @@ -13558,6 +13550,18 @@ L: platform-driver-x86@xxxxxxxxxxxxxxx
> > S: Maintained
> > F: drivers/platform/x86/topstar-laptop.c
> >
> > +TORTURE-TEST MODULES
> > +M: Davidlohr Bueso <dave@xxxxxxxxxxxx>
> > +M: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
> > +M: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
> > +L: linux-kernel@xxxxxxxxxxxxxxx
> > +S: Supported
> > +T: git git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
> > +F: Documentation/RCU/torture.txt
> > +F: kernel/torture.c
> > +F: kernel/rcu/rcutorture.c
> > +F: kernel/locking/locktorture.c
> > +
> > TOSHIBA ACPI EXTRAS DRIVER
> > M: Azael Avalos <coproscefalo@xxxxxxxxx>
> > L: platform-driver-x86@xxxxxxxxxxxxxxx
> >
>