diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-06-06 12:52:44 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-07-24 16:04:11 -0700 |
commit | 5e741fa9e9698f4010bb85eff252186f7a4071f4 (patch) | |
tree | c7b07c1434d2edd09705c037d93db8658921bf02 /include | |
parent | 85ef2bd2a561055f3b1cab634f67b734034eb984 (diff) | |
download | op-kernel-dev-5e741fa9e9698f4010bb85eff252186f7a4071f4.zip op-kernel-dev-5e741fa9e9698f4010bb85eff252186f7a4071f4.tar.gz |
rcutorture: Enable SRCU readers from timer handler
Now that it is legal to invoke srcu_read_lock() and srcu_read_unlock()
for a given srcu_struct from both process context and {soft,}irq
handlers, it is time to test it. This commit therefore enables
testing of SRCU readers from rcutorture's timer handler, using in_task()
to determine whether or not it is safe to sleep in the SRCU read-side
critical sections.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions