Re: [PATCH v2 1/3] rcu: Assign higher prio to RCU threads if rcutorture is built-in

From: Joel Fernandes
Date: Wed Jun 20 2018 - 20:25:51 EST


On Wed, Jun 20, 2018 at 10:10:41AM -0700, Paul E. McKenney wrote:
> On Tue, Jun 19, 2018 at 03:14:17PM -0700, Joel Fernandes wrote:
> > From: "Joel Fernandes (Google)" <joel@xxxxxxxxxxxxxxxxx>
> >
> > rcutorture boost tests fail even with CONFIG_RCU_BOOST set because
> > rcutorture's threads are equal priority to the default RCU kthreads (RT
> > class with priority of 1).
> >
> > This patch checks if RCU torture is built into the kernel and if so,
> > assigns a higher priority to the RCU threads. With this the rcutorture
> > boost tests pass.
> >
> > Signed-off-by: Joel Fernandes (Google) <joel@xxxxxxxxxxxxxxxxx>
>
> I queued all three for testing and further review. I reworked the commit
> logs a bit and also pulled the error string onto one line to make it
> easier on people grepping for the message. Please let me know if I
> messed anything up.

I double checked it and it looks good to me, thanks Paul!

Regards,

- Joel