[PATCH RFC tip/core/rcu 0/2] rcu: make RCU lockdep handle earlyboot in organized manner

From: Paul E. McKenney
Date: Mon Mar 01 2010 - 14:03:37 EST


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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/