rcu: Check the range of jiffies_till_{first,next}_fqs when setting them
authorByungchul Park <byungchul.park@lge.com>
Fri, 1 Jun 2018 02:03:09 +0000 (11:03 +0900)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 22:39:22 +0000 (15:39 -0700)
commit67abb96cbf307e16e3c6d1a0328ece085b5ce94c
treecf725675a2ccd119245cf818fb01f634cf90fcc8
parent47199a0812535217c29933cecf468568bb37f933
rcu: Check the range of jiffies_till_{first,next}_fqs when setting them

Currently, the range of jiffies_till_{first,next}_fqs are checked and
adjusted on and on in the loop of rcu_gp_kthread on runtime.

However, it's enough to check them only when setting them, not every
time in the loop. So make them handled on a setting time via sysfs.

Signed-off-by: Byungchul Park <byungchul.park@lge.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c