* Paul E. McKenney wrote: > Hello! > > This set fixes a couple of problems with the RCU-based lockdep patches: > > 1. Make the lockdep_rcu_dereference() message less alarmist > > 2. Make rcu_read_lock_sched_held() take boot-time lack of > preemption into account. > > Thanx, Paul > > ------------------------------------------------------------------------ > > include/linux/rcupdate.h | 4 +++- > include/linux/rcutiny.h | 4 ---- > include/linux/rcutree.h | 1 - > kernel/lockdep.c | 7 +++---- > kernel/rcupdate.c | 18 ++++++++++++++++++ > kernel/rcutree.c | 20 -------------------- > 6 files changed, 24 insertions(+), 30 deletions(-) Applied, thanks Paul! Here's a new warning: [ 0.000000] [ 0.000000] =================================================== [ 0.000000] [ INFO: suspicious rcu_dereference_check() usage. ] [ 0.000000] --------------------------------------------------- [ 0.000000] kernel/sched_fair.c:3469 invoked rcu_dereference_check() without protection! [ 0.000000] [ 0.000000] other info that might help us debug this: [ 0.000000] [ 0.000000] no locks held by swapper/0. [ 0.000000] [ 0.000000] stack backtrace: [ 0.000000] Pid: 0, comm: swapper Not tainted 2.6.33-tip+ #18801 [ 0.000000] Call Trace: [ 0.000000] [] ? printk+0x1d/0x1f [ 0.000000] [] lockdep_rcu_dereference+0x8c/0x90 [ 0.000000] [] scheduler_tick+0x211/0x290 [ 0.000000] [] update_process_times+0x4c/0x70 [ 0.000000] [] tick_periodic+0x2a/0x80 [ 0.000000] [] tick_handle_periodic+0x1d/0x90 [ 0.000000] [] timer_interrupt+0x26/0x70 [ 0.000000] [] handle_IRQ_event+0x44/0x1c0 [ 0.000000] [] ? lock_release+0x9a/0x200 [ 0.000000] [] handle_level_irq+0x77/0xf0 [ 0.000000] [] ? handle_level_irq+0x0/0xf0 [ 0.000000] [] ? do_IRQ+0x4f/0xc0 [ 0.000000] [] ? trace_hardirqs_off_caller+0x7e/0xb0 [ 0.000000] [] ? common_interrupt+0x2e/0x34 [ 0.000000] [] ? native_restore_fl+0xa/0x10 [ 0.000000] [] ? _raw_spin_unlock_irqrestore+0x65/0x80 [ 0.000000] [] ? __setup_irq+0x176/0x310 [ 0.000000] [] ? sub_preempt_count+0x9/0xc0 [ 0.000000] [] ? _raw_spin_unlock_irqrestore+0x44/0x80 [ 0.000000] [] ? setup_irq+0x26/0x40 [ 0.000000] [] ? setup_default_timer_irq+0xf/0x11 [ 0.000000] [] ? hpet_time_init+0x16/0x18 [ 0.000000] [] ? x86_late_time_init+0x9/0x10 [ 0.000000] [] ? start_kernel+0x34f/0x3c4 [ 0.000000] [] ? unknown_bootoption+0x0/0x1a0 [ 0.000000] [] ? reserve_ebda_region+0x70/0x72 [ 0.000000] [] ? i386_start_kernel+0xc9/0xd0 [ 0.000000] Fast TSC calibration using PIT [ 0.000000] Detected 2010.433 MHz processor. [ 0.030007] Calibrating delay loop (skipped), value calculated using timer frequency.. 4020.86 BogoMIPS (lpj=20104330) [ 0.042949] Security Framework initialized Config attached. Ingo