diff options
author | 2011-10-07 18:22:02 +0200 | |
---|---|---|
committer | 2011-12-11 10:31:31 -0800 | |
commit | 00f49e5729af602deb559b0cf293a00b625e8636 (patch) | |
tree | 3e3d5162d8a62bf6aa91b546f5760512637e6cf6 /arch/um/kernel/process.c | |
parent | rcu: Inform the user about extended quiescent state on PROVE_RCU warning (diff) | |
download | wireguard-linux-00f49e5729af602deb559b0cf293a00b625e8636.tar.xz wireguard-linux-00f49e5729af602deb559b0cf293a00b625e8636.zip |
rcu: Warn when rcu_read_lock() is used in extended quiescent state
We are currently able to detect uses of rcu_dereference_check() inside
extended quiescent states (such as the RCU-free window in idle).
But rcu_read_lock() and friends can be used without rcu_dereference(),
so that the earlier commit checking for use of rcu_dereference() and
friends while in RCU idle mode miss some error conditions. This commit
therefore adds extended quiescent state checking to rcu_read_lock() and
friends.
Uses of RCU from within RCU-idle mode are totally ignored by
RCU, hence the importance of these checks.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'arch/um/kernel/process.c')
0 files changed, 0 insertions, 0 deletions