Hi Vegard, This warning code is triggered for the attached config: __lockdep_trace_alloc(): /* * Oi! Can't be having __GFP_FS allocations with IRQs disabled. */ if (DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags))) return; Where the irq is possibly disabled at the beginning of __slab_alloc(): local_irq_save(flags); Thanks, Fengguang --- [ 1.657564] kmemcheck: Limiting number of CPUs to 1. [ 1.660022] kmemcheck: Initialized [ 1.682729] ------------[ cut here ]------------ [ 1.687281] WARNING: at /c/kernel-tests/net/kernel/lockdep.c:2739 lockdep_trace_alloc+0x14e/0x1c0() [ 1.690000] Hardware name: Bochs [ 1.690000] Pid: 1, comm: swapper/0 Not tainted 3.5.0-rc5+ #11 [ 1.690000] Call Trace: [ 1.690000] [] warn_slowpath_common+0xd1/0x110 [ 1.690000] [] ? kmemcheck_fault+0x105/0x130 [ 1.690000] [] warn_slowpath_null+0x25/0x30 [ 1.690000] [] lockdep_trace_alloc+0x14e/0x1c0 [ 1.690000] [] __alloc_pages_nodemask+0xbc/0xcb0 [ 1.690000] [] ? __alloc_pages_nodemask+0x259/0xcb0 [ 1.690000] [] ? trace_hardirqs_off_thunk+0x3a/0x3c [ 1.690000] [] ? trace_hardirqs_off_thunk+0x3a/0x3c [ 1.690000] [] ? error_exit+0x30/0xb0 [ 1.690000] [] kmemcheck_alloc_shadow+0x31/0x160 [ 1.690000] [] new_slab+0x1fc/0x460 [ 1.690000] [] __slab_alloc.isra.49.constprop.54+0x585/0x791 [ 1.690000] [] ? idr_pre_get+0x5f/0xd0 [ 1.690000] [] ? error_exit+0x30/0xb0 [ 1.690000] [] ? idr_pre_get+0x5f/0xd0 [ 1.690000] [] kmem_cache_alloc+0xab/0x1b0 [ 1.690000] [] idr_pre_get+0x5f/0xd0 [ 1.690000] [] ida_pre_get+0x23/0xf0 [ 1.690000] [] create_worker+0x65/0x220 [ 1.690000] [] init_workqueues+0x296/0x4fc [ 1.690000] [] ? usermodehelper_init+0x52/0x52 [ 1.690000] [] do_one_initcall+0xb6/0x1d4 [ 1.690000] [] kernel_init+0xda/0x309 [ 1.690000] [] kernel_thread_helper+0x4/0x10 [ 1.690000] [] ? retint_restore_args+0x13/0x13 [ 1.690000] [] ? do_one_initcall+0x1d4/0x1d4 [ 1.690000] [] ? gs_change+0x13/0x13 [ 1.690000] ---[ end trace 4eaa2a86a8e2da22 ]--- [ 1.776302] Brought up 1 CPUs