Hi Steven, Paul, Here is yet another warning, triggered by: if (DEBUG_LOCKS_WARN_ON(!current->hardirqs_enabled)) { printk("possible reason: unannotated irqs-on.\n"); } For the same attached config, there are two different stack traces show up alternatively in the test boots, === 1 === [ 4.587462] Testing tracer irqsoff: PASSED [ 5.361624] Testing tracer branch: [ 5.487614] ------------[ cut here ]------------ [ 5.488906] WARNING: at /c/wfg/linux/kernel/lockdep.c:3493 check_flags+0xab/0x1a0() [ 5.490874] Hardware name: Bochs [ 5.491810] Pid: 29, comm: rcu_torture_rea Not tainted 3.5.0-00551-g08843b7-dirty #7 [ 5.493793] Call Trace: [ 5.494692] [] warn_slowpath_common+0x9d/0xd0 [ 5.496369] [] ? check_flags+0xab/0x1a0 [ 5.497419] [] ? check_flags+0xab/0x1a0 [ 5.497419] [] ? native_restore_fl+0x10/0x10 [ 5.497419] [] warn_slowpath_null+0x22/0x30 [ 5.497419] [] check_flags+0xab/0x1a0 [ 5.497419] [] lock_acquire+0x59/0x130 [ 5.497419] [] rcu_torture_read_lock+0x38/0x40 [ 5.497419] [] ? rcu_random+0x80/0x80 [ 5.497419] [] rcu_torture_reader+0xab/0x330 [ 5.497419] [] ? rcu_torture_reader+0x330/0x330 [ 5.497419] [] ? rcutorture_trace_dump+0x80/0x80 [ 5.497419] [] kthread+0x8b/0xa0 [ 5.497419] [] ? slab_out_of_memory.constprop.55+0xe2/0xf0 [ 5.497419] [] ? insert_kthread_work+0xf0/0xf0 [ 5.497419] [] kernel_thread_helper+0x6/0x10 === 2 === [ 10.338285] Testing tracer irqsoff: PASSED [ 10.788310] Testing tracer branch: [ 10.882125] ------------[ cut here ]------------ [ 10.884047] WARNING: at /c/kernel-tests/src/tip/kernel/lockdep.c:3493 check_flags+0xab/0x1a0() [ 10.886964] Hardware name: Bochs [ 10.887916] Pid: 0, comm: swapper/1 Not tainted 3.5.0-00551-g08843b7 #1 [ 10.889646] Call Trace: [ 10.890412] [] warn_slowpath_common+0x9d/0xd0 [ 10.892017] [] ? check_flags+0xab/0x1a0 [ 10.892017] [] ? check_flags+0xab/0x1a0 [ 10.892017] [] ? native_restore_fl+0x10/0x10 [ 10.892017] [] warn_slowpath_null+0x22/0x30 [ 10.892017] [] check_flags+0xab/0x1a0 [ 10.892017] [] lock_acquire+0x59/0x130 [ 10.892017] [] run_timer_softirq+0x238/0x4e0 [ 10.892017] [] ? run_timer_softirq+0x1de/0x4e0 [ 10.892017] [] ? run_timer_softirq+0x4e0/0x4e0 [ 10.892017] [] __do_softirq+0x151/0x320 [ 10.892017] [] ? local_bh_enable_ip+0x270/0x270 [ 10.892017] [] ? irq_exit+0x95/0xa0 [ 10.892017] [] ? smp_apic_timer_interrupt+0x7b/0xc0 [ 10.892017] [] ? apic_timer_interrupt+0x2f/0x34 [ 10.892017] [] ? native_safe_halt+0x5/0x10 [ 10.892017] [] ? default_idle+0x204/0x210 [ 10.892017] [] ? cpu_idle+0x15a/0x1a0 [ 10.892017] [] ? start_secondary+0x3f4/0x523 Thanks, Fengguang