commit | 0eeef0a88de1bfbae22419f1d73cb7a939e6300c | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Fri Jul 06 15:16:12 2018 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Fri Jul 06 15:16:12 2018 -0700 |
tree | 51870c3a2aebf7f171af6035e4ddde13c355b58b | |
parent | b85a77da7e3eb603a73ed39fb42eb04e5e347923 [diff] |
rcutorture: Add RCU-bh and RCU-sched support for extended readers Since there is now a single consolidated RCU flavor, rcutorture needs to test extending of RCU readers via rcu_read_lock_bh() and rcu_read_lock_sched(). This commit adds this support, with added checks (just like for local_bh_enable()) to ensure that rcu_read_unlock_bh() will not be invoked while interrupts are disabled. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>