diff options
author | Frederic Weisbecker <[email protected]> | 2011-10-07 18:22:02 +0200 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2011-12-11 10:31:31 -0800 |
commit | 00f49e5729af602deb559b0cf293a00b625e8636 (patch) | |
tree | 3e3d5162d8a62bf6aa91b546f5760512637e6cf6 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 0464e937485f15d2add78e3b0f498469f4e6600d (diff) |
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 <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions