public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC tip/core/rcu 0/2] rcu: make RCU lockdep handle early boot in organized manner
@ 2010-03-01 19:03 Paul E. McKenney
  2010-03-01 19:03 ` [PATCH RFC tip/core/rcu 1/2] rcu: suppress RCU lockdep warnings during early boot Paul E. McKenney
  2010-03-01 19:03 ` [PATCH RFC tip/core/rcu 2/2] rcu: revert 1883c79a: early boot now handled by lockdep-RCU Paul E. McKenney
  0 siblings, 2 replies; 7+ messages in thread
From: Paul E. McKenney @ 2010-03-01 19:03 UTC (permalink / raw)
  To: linux-kernel
  Cc: mingo, laijs, dipankar, akpm, mathieu.desnoyers, josh, dvhltc,
	niv, tglx, peterz, rostedt, Valdis.Kletnieks, dhowells

Hello!

This patch set makes RCU lockdep handle early boot in an organized
manner:

1.	Make rcu_read_lock_held(), rcu_read_lock_bh_held(),
	rcu_read_lock_sched_held(), and rcu_dereference_check()
	suppress complaints if !rcu_scheduler_active.  The rationale
	for this approach is that RCU grace periods are handled very
	differently during early boot, and rcu_scheduler_active marks
	the point that normal runtime RCU behavior starts.

2.	Remove the !rcu_scheduler_active check from calls to
	rcu_dereference_check(), because rcu_dereference_check() already
	does the check in question.

Testing in progress, but want to get these out for review.

							Thanx, Paul

------------------------------------------------------------------------

 cgroup.h   |    2 --
 rcupdate.h |   27 +++++++++++++++++----------
 2 files changed, 17 insertions(+), 12 deletions(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-03-02 14:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-01 19:03 [PATCH RFC tip/core/rcu 0/2] rcu: make RCU lockdep handle early boot in organized manner Paul E. McKenney
2010-03-01 19:03 ` [PATCH RFC tip/core/rcu 1/2] rcu: suppress RCU lockdep warnings during early boot Paul E. McKenney
2010-03-02 12:20   ` Ingo Molnar
2010-03-02 13:27     ` Paul E. McKenney
2010-03-02 14:12       ` Ingo Molnar
2010-03-02 14:55         ` Paul E. McKenney
2010-03-01 19:03 ` [PATCH RFC tip/core/rcu 2/2] rcu: revert 1883c79a: early boot now handled by lockdep-RCU Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox