diff options
| author | Lai Jiangshan <[email protected]> | 2010-03-18 19:25:33 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-03-18 20:25:32 +0000 |
| commit | 0cff810f54b3b52075c27f7a7021d5b195264b6c (patch) | |
| tree | 671189b10e1ac4d12a26d9a337a2ca053faed107 /net/lapb/lapb_subr.c | |
| parent | rcu: Fix tracepoints & lockdep false positive (diff) | |
| download | kernel-0cff810f54b3b52075c27f7a7021d5b195264b6c.tar.gz kernel-0cff810f54b3b52075c27f7a7021d5b195264b6c.zip | |
rcu: Fix local_irq_disable() CONFIG_PROVE_RCU=y false positives
It is documented that local_irq_disable() also delimits RCU_SCHED
read-site critical sections.
See the document of synchronize_sched() or
Documentation/RCU/whatisRCU.txt.
So we have to test irqs_disabled() in rcu_read_lock_sched_held().
Otherwise rcu-lockdep brings incorrect complaint.
Signed-off-by: Lai Jiangshan <[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]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
