diff options
author | 2012-01-12 13:49:19 -0800 | |
---|---|---|
committer | 2012-02-21 09:03:46 -0800 | |
commit | 50406b98b6372e7de21d903d2cf3914e9d64e094 (patch) | |
tree | d53077fbca12714e1af5f9982e08efb923a550c6 /drivers/i2c/algos/i2c-algo-bit.c | |
parent | rcu: Check for idle-loop entry while in RCU read-side critical section (diff) | |
download | wireguard-linux-50406b98b6372e7de21d903d2cf3914e9d64e094.tar.xz wireguard-linux-50406b98b6372e7de21d903d2cf3914e9d64e094.zip |
rcu: Make rcu_sleep_check() also check rcu_lock_map
Although it is OK to be preempted in an RCU read-side critical section
for TREE_PREEMPT_RCU, it is definitely not OK to be preempted, block,
or might_sleep() within an RCU read-side critical section for TREE_RCU.
Unfortunately, rcu_might_sleep() currently only checks for RCU-bh and
RCU-sched read-side critical sections. This commit therefore makes
rcu_might_sleep() check for RCU read-side critical sections, but only
in TREE_RCU builds.
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions