Re: [PATCH 1/2] rcu: Assign higher priority to RCU threads if its rcutorture

2018-06-19 Thread Joel Fernandes
On Tue, Jun 19, 2018 at 09:00:24AM -0700, Paul E. McKenney wrote: > On Mon, Jun 18, 2018 at 11:34:21PM -0700, Joel Fernandes wrote: > > On Mon, Jun 18, 2018 at 11:22:14PM -0700, Joel Fernandes wrote: > > > From: "Joel Fernandes (Google)" > > > > > > rcutorture boost tests fail even with CONFIG_RC

Re: [PATCH 1/2] rcu: Assign higher priority to RCU threads if its rcutorture

2018-06-19 Thread Paul E. McKenney
On Mon, Jun 18, 2018 at 11:34:21PM -0700, Joel Fernandes wrote: > On Mon, Jun 18, 2018 at 11:22:14PM -0700, Joel Fernandes wrote: > > From: "Joel Fernandes (Google)" > > > > rcutorture boost tests fail even with CONFIG_RCU_BOOST set because > > rcutorture's threads are equal priority to the defau

Re: [PATCH 1/2] rcu: Assign higher priority to RCU threads if its rcutorture

2018-06-18 Thread Joel Fernandes
On Mon, Jun 18, 2018 at 11:22:14PM -0700, Joel Fernandes wrote: > From: "Joel Fernandes (Google)" > > 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). Sorry for the weird subj

[PATCH 1/2] rcu: Assign higher priority to RCU threads if its rcutorture

2018-06-18 Thread Joel Fernandes
From: "Joel Fernandes (Google)" 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