rcutorture: Re-enable testing of dynamic expediting
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 8 Dec 2017 19:37:24 +0000 (11:37 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 21 Feb 2018 00:21:57 +0000 (16:21 -0800)
commitf7c0e6ad4bb1ab1cf358b8815f7d0ba7ff94d786
treeadf1a133ca5cb7f8aa7ab92a63098638d9e40655
parenteb0339934f1d468ff09d9be1c608c89cb1da850b
rcutorture: Re-enable testing of dynamic expediting

During boot, normal grace periods are processed as expedited.  When
rcutorture is built into the kernel, it starts during boot and thus
detects that normal grace periods are unconditionally expedited.
Therefore, rcutorture concludes that there is no point in trying
to dynamically enable expediting, do it disables this aspect of testing,
which is a bit of an overreaction to the temporary boot-time expediting.

This commit therefore rechecks forced expediting throughout the test,
enabling dynamic expediting if normal grace periods are processed
normally at any point.

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