Re: [PATCH 6/9] torture: Address race in module cleanup

2014-09-12 Thread Paul E. McKenney
On Fri, Sep 12, 2014 at 11:28:36AM -0700, Davidlohr Bueso wrote: > On Fri, 2014-09-12 at 11:04 -0700, Paul E. McKenney wrote: > > On Thu, Sep 11, 2014 at 08:40:21PM -0700, Davidlohr Bueso wrote: > > > When performing module cleanups by calling torture_cleanup() the > > > 'torture_type' string in

Re: [PATCH 6/9] torture: Address race in module cleanup

2014-09-12 Thread Davidlohr Bueso
On Fri, 2014-09-12 at 11:04 -0700, Paul E. McKenney wrote: > On Thu, Sep 11, 2014 at 08:40:21PM -0700, Davidlohr Bueso wrote: > > When performing module cleanups by calling torture_cleanup() the > > 'torture_type' string in nullified However, callers are not necessarily > > done, and might still

Re: [PATCH 6/9] torture: Address race in module cleanup

2014-09-12 Thread Paul E. McKenney
On Thu, Sep 11, 2014 at 08:40:21PM -0700, Davidlohr Bueso wrote: > When performing module cleanups by calling torture_cleanup() the > 'torture_type' string in nullified However, callers are not necessarily > done, and might still need to reference the variable. This impacts > both rcutorture and

Re: [PATCH 6/9] torture: Address race in module cleanup

2014-09-12 Thread Paul E. McKenney
On Thu, Sep 11, 2014 at 08:40:21PM -0700, Davidlohr Bueso wrote: When performing module cleanups by calling torture_cleanup() the 'torture_type' string in nullified However, callers are not necessarily done, and might still need to reference the variable. This impacts both rcutorture and

Re: [PATCH 6/9] torture: Address race in module cleanup

2014-09-12 Thread Davidlohr Bueso
On Fri, 2014-09-12 at 11:04 -0700, Paul E. McKenney wrote: On Thu, Sep 11, 2014 at 08:40:21PM -0700, Davidlohr Bueso wrote: When performing module cleanups by calling torture_cleanup() the 'torture_type' string in nullified However, callers are not necessarily done, and might still need to

Re: [PATCH 6/9] torture: Address race in module cleanup

2014-09-12 Thread Paul E. McKenney
On Fri, Sep 12, 2014 at 11:28:36AM -0700, Davidlohr Bueso wrote: On Fri, 2014-09-12 at 11:04 -0700, Paul E. McKenney wrote: On Thu, Sep 11, 2014 at 08:40:21PM -0700, Davidlohr Bueso wrote: When performing module cleanups by calling torture_cleanup() the 'torture_type' string in nullified

[PATCH 6/9] torture: Address race in module cleanup

2014-09-11 Thread Davidlohr Bueso
When performing module cleanups by calling torture_cleanup() the 'torture_type' string in nullified However, callers are not necessarily done, and might still need to reference the variable. This impacts both rcutorture and locktorture, causing printing things like: [ 94.226618] (null)-torture:

[PATCH 6/9] torture: Address race in module cleanup

2014-09-11 Thread Davidlohr Bueso
When performing module cleanups by calling torture_cleanup() the 'torture_type' string in nullified However, callers are not necessarily done, and might still need to reference the variable. This impacts both rcutorture and locktorture, causing printing things like: [ 94.226618] (null)-torture: