diff options
| author | Paul E. McKenney <[email protected]> | 2010-04-15 19:50:39 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-04-19 06:37:19 +0000 |
| commit | bc293d62b26ec590afc90a9e0a31c45d355b7bd8 (patch) | |
| tree | 4b61dee53e849f0ba1d5a7fef58522e224be836e /tools/perf/scripts/python | |
| parent | rcu: Update docs for rcu_access_pointer and rcu_dereference_protected (diff) | |
| download | kernel-bc293d62b26ec590afc90a9e0a31c45d355b7bd8.tar.gz kernel-bc293d62b26ec590afc90a9e0a31c45d355b7bd8.zip | |
rcu: Make RCU lockdep check the lockdep_recursion variable
The lockdep facility temporarily disables lockdep checking by
incrementing the current->lockdep_recursion variable. Such
disabling happens in NMIs and in other situations where lockdep
might expect to recurse on itself.
This patch therefore checks current->lockdep_recursion, disabling RCU
lockdep splats when this variable is non-zero. In addition, this patch
removes the "likely()", as suggested by Lai Jiangshan.
Reported-by: Frederic Weisbecker <[email protected]>
Reported-by: David Miller <[email protected]>
Tested-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
