rcutorture: Break up too-long rcu_torture_fwd_prog() function
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 28 Aug 2018 21:38:43 +0000 (14:38 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Sat, 1 Dec 2018 20:45:34 +0000 (12:45 -0800)
commit6b3de7a172bc59010a9d8e425877d98c1f24555e
tree7cc44dd4517ab3c36f988ae6250370135c4bffb4
parentfc6f9c57787e578473d47b7bbc846e317d17c1df
rcutorture: Break up too-long rcu_torture_fwd_prog() function

This commit splits rcu_torture_fwd_prog_nr() and rcu_torture_fwd_prog_cr()
functions out of rcu_torture_fwd_prog() in order to reduce indentation
pain and because rcu_torture_fwd_prog() was getting a bit too long.
In addition, this will enable easier conditional execution of the
rcu_torture_fwd_prog_cr() function, which can give false-positive
failures in some NO_HZ_FULL configurations due to overloading the
housekeeping CPUs.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/rcutorture.c