Files
kernel-tenderloin-3.0/include/linux
Paul E. McKenney 54dbf96c92 rcu: Suppress RCU lockdep warnings during early boot
RCU is used during very early boot, before RCU and lockdep have
been initialized.  So make the underlying primitives
(rcu_read_lock_held(), rcu_read_lock_bh_held(),
rcu_read_lock_sched_held(), and rcu_dereference_check()) check
for early boot via the rcu_scheduler_active flag.  This will
suppress false positives.

Also introduce a debug_lockdep_rcu_enabled() static inline
helper function, which tags the CONTINUE_PROVE_RCU case as
likely(), as suggested by Ingo Molnar.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: mathieu.desnoyers@polymtl.ca
Cc: josh@joshtriplett.org
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: Valdis.Kletnieks@vt.edu
Cc: dhowells@redhat.com
LKML-Reference: <1267631219-8713-2-git-send-email-paulmck@linux.vnet.ibm.com>
[ v2: removed incomplete debug_lockdep_rcu_update() bits ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-03-04 12:09:19 +01:00
..
2009-12-16 07:20:13 -08:00
2010-02-05 07:35:05 -08:00
2009-12-10 23:52:01 +00:00
2009-12-15 08:53:33 -08:00
2009-12-10 15:02:53 +01:00
2009-12-23 13:33:54 +01:00
2010-01-11 14:32:44 +01:00
2009-12-03 11:58:47 +00:00
2009-12-14 23:55:34 +01:00
2009-12-14 21:17:29 +01:00
2009-12-21 11:32:27 -05:00
2009-12-25 17:30:22 -08:00
2010-02-22 16:17:00 -08:00
2009-12-16 06:56:12 -08:00
2009-12-03 09:32:17 +02:00
2009-12-09 17:14:38 +11:00
2009-12-15 08:53:36 -08:00
2010-01-16 12:29:32 +01:00
2010-02-03 17:39:50 +11:00
2009-12-15 08:53:20 -08:00
2010-02-17 18:28:05 +01:00
2009-12-12 13:08:15 +01:00
2009-11-28 15:05:05 -05:00
2010-02-14 07:13:47 -07:00
2009-12-09 12:12:44 +02:00
2009-12-03 11:43:23 +00:00
2009-12-02 09:55:33 +01:00
2009-12-15 08:53:20 -08:00
2010-02-16 13:38:56 +09:00
2009-11-30 12:02:53 +09:00
2009-12-02 19:57:15 -08:00
2009-12-16 22:32:29 -05:00
2010-01-14 22:38:09 -05:00
2009-12-15 08:53:16 -08:00
2009-12-25 17:30:22 -08:00
2010-01-16 12:15:38 -08:00
2009-12-16 12:16:49 -05:00