diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-01-01 03:11:47 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-03-31 22:37:37 +0200 |
commit | 9efafb8849f732a3497f46f178b350c9ff7cfe27 (patch) | |
tree | 132a900dce66dd262c6dcfd51797f71bd652cec0 /fs/fs_struct.c | |
parent | rcutorture: Update scripting to accommodate rcuperf (diff) | |
download | linux-9efafb8849f732a3497f46f178b350c9ff7cfe27.tar.xz linux-9efafb8849f732a3497f46f178b350c9ff7cfe27.zip |
rcutorture: Allow for rcupdate.rcu_normal
Currently, rcu_torture_writer() checks only for rcu_gp_is_expedited()
when deciding whether or not to do dynamic control of RCU expediting.
This means that if rcupdate.rcu_normal is specified, rcu_torture_writer()
will attempt to dynamically control RCU expediting, but will nonetheless
only test normal RCU grace periods. This commit therefore adds a check
for !rcu_gp_is_normal(), and prints a message and desists from testing
dynamic control of RCU expediting when doing so is futile.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions