diff options
author | Paul E. McKenney <[email protected]> | 2010-01-04 16:04:01 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-01-13 09:06:06 +0100 |
commit | cba8244a0f1c277b6b1e48ed6504fa434119e24d (patch) | |
tree | becfa7d6f653774f72f411002626e791243e5057 /net/unix/af_unix.c | |
parent | f9094d8e5587cf21091a9516628147c0b55e4264 (diff) |
rcu: Add debug check for too many rcu_read_unlock()
TREE_PREEMPT_RCU maintains an rcu_read_lock_nesting counter in
the task structure, which happens to be a signed int. So this
patch adds a check for this counter being negative at the end of
__rcu_read_unlock(). This check is under CONFIG_PROVE_LOCKING,
so can be thought of as being part of lockdep.
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]
LKML-Reference: <12626498423064-git-send-email->
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions