Christoph, FYI, here is another bisect result and call trace. Interestingly, next-20140307 no longer triggers this BUG message. commit a25982c15ae5298520033cd5848a82adf6a97376 Author: Christoph Lameter AuthorDate: Thu Mar 6 11:05:21 2014 +1100 percpu: add preemption checks to __this_cpu ops +---------------------------------------------------------+------------+------------+---------------+ | | 26d02cfa38 | a25982c15a | next-20140306 | +---------------------------------------------------------+------------+------------+---------------+ | boot_successes | 59 | 0 | 0 | | boot_failures | 1 | 20 | 19 | | WARNING:CPU:PID:at_arch/x86/kernel/cpu/amd.c:init_amd() | 1 | 0 | 3 | | backtrace:init_amd | 1 | 0 | 3 | | backtrace:warn_slowpath_fmt | 1 | 0 | 3 | | BUG:using__this_cpu_add()in_preemptible_code:init | 0 | 20 | 19 | | BUG:using__this_cpu_add()in_preemptible_code:trinity | 0 | 3 | 1 | | backtrace:do_execve | 0 | 20 | 19 | | backtrace:run_init_process | 0 | 20 | 19 | | backtrace:user_path_at | 0 | 20 | 19 | | backtrace:SyS_faccessat | 0 | 20 | 19 | | backtrace:SyS_access | 0 | 20 | 19 | | backtrace:do_sys_open | 0 | 19 | 12 | | backtrace:SyS_open | 0 | 19 | 12 | | backtrace:vm_mmap_pgoff | 0 | 7 | | | backtrace:SyS_mmap_pgoff | 0 | 7 | | | BUG:using__this_cpu_add()in_preemptible_code:getty | 0 | 1 | | | BUG:using__this_cpu_add()in_preemptible_code:kworker/u4 | 0 | 4 | | | backtrace:vm_munmap | 0 | 4 | | | backtrace:SyS_munmap | 0 | 4 | | | backtrace:____call_usermodehelper | 0 | 4 | | | backtrace:vfs_stat | 0 | 1 | 3 | | backtrace:SyS_stat64 | 0 | 1 | 3 | | backtrace:do_group_exit | 0 | 1 | | | backtrace:SyS_exit_group | 0 | 1 | | | BUG:using__this_cpu_add()in_preemptible_code:sh | 0 | 0 | 2 | | BUG:using__this_cpu_add()in_preemptible_code:rc.local | 0 | 0 | 1 | | backtrace:SyS_execve | 0 | 0 | 3 | | BUG:using__this_cpu_add()in_preemptible_code:grep | 0 | 0 | 1 | | BUG:using__this_cpu_add()in_preemptible_code:plymouthd | 0 | 0 | 1 | | BUG:using__this_cpu_add()in_preemptible_code:-trinity | 0 | 0 | 1 | +---------------------------------------------------------+------------+------------+---------------+ [ 9.883984] Freeing unused kernel memory: 1780K (c1aab000 - c1c68000) [ 9.885550] Write protecting the kernel text: 7012k [ 9.886955] Write protecting the kernel read-only data: 3264k [ 9.888463] BUG: using __this_cpu_add() in preemptible [00000000] code: init/1 [ 9.889377] caller is __this_cpu_preempt_check+0x1f/0x27 [ 9.890038] CPU: 1 PID: 1 Comm: init Not tainted 3.14.0-rc5-next-20140306-07138-g0ffb2fe #3 [ 9.891044] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.891728] 00000000 00000000 cdc6dd04 c16c7a68 00000001 cdc6dd28 c1273ca2 c191d4e5 [ 9.892815] cdc6dd40 00000000 cdc703b8 00000001 cdc6dd40 ce793cc0 cdc6dd6c c1273ce3 [ 9.893897] cdc6dd40 00000028 c191d539 c195d696 68745f5f 635f7369 615f7570 29286464 [ 9.894983] Call Trace: [ 9.895312] [] dump_stack+0x49/0x73 [ 9.895849] [] check_preemption_disabled+0xb0/0xc3 [ 9.896557] [] __this_cpu_preempt_check+0x1f/0x27 [ 9.897391] [] ? kvm_clock_read+0x1e/0x31 [ 9.898109] [] __slab_free+0x2c/0x422 [ 9.898756] [] ? sched_clock_local+0x11/0xfa [ 9.899498] [] ? ptlock_free+0x10/0x12 [ 9.900174] [] ? sched_clock_cpu+0xe3/0x10d [ 9.900884] [] ? lookup_address+0x1c/0x1f [ 9.901584] [] kmem_cache_free+0x142/0x14b [ 9.902322] [] ? kmem_cache_free+0x142/0x14b [ 9.903065] [] ? ptlock_free+0x10/0x12 [ 9.903716] [] ? ptlock_free+0x10/0x12 [ 9.904382] [] ptlock_free+0x10/0x12 [ 9.905036] [] ___pte_free_tlb+0x17/0x4c [ 9.905710] [] free_pgd_range+0x13f/0x160 [ 9.906411] [] setup_arg_pages+0x235/0x27f [ 9.917213] [] ? get_random_int+0x60/0x77 [ 9.917913] [] load_elf_binary+0x2e9/0xb95 [ 9.918656] [] ? debug_smp_processor_id+0xd/0xf [ 9.919439] [] search_binary_handler+0x65/0x130 [ 9.920238] [] do_execve+0x3a4/0x4ad [ 9.920874] [] run_init_process+0x1c/0x1e [ 9.921610] [] kernel_init+0x34/0xb8 [ 9.922260] [] ret_from_kernel_thread+0x1b/0x28 [ 9.923067] [] ? rest_init+0xa1/0xa1 git bisect start 0ffb2fe7b9c30082876fa3a17da018bf0632cf03 09de192242d86ede449146ac423effca53bc1810 -- git bisect bad 439cde1f3d8230f858c0a55902381d24cd7a2df2 # 12:13 0- 3 Merge branch 'akpm/master' git bisect good ce34778eb4d9fa0aaaeae76c1068026ee5255fd7 # 13:30 20+ 4 Merge branch 'akpm-current/current' git bisect good 117314461e82adabb6b78dcb03259da75b50833b # 13:43 20+ 0 mm: don't implictly include linux/mm.h in linux/sched.h git bisect bad 9d58cf7a388c1b4a06cb335980eb1bb1352ba876 # 13:50 0- 3 scheduler: replace __get_cpu_var with this_cpu_ptr git bisect bad b2ff2cfebad92bebfca28bad650045821ed270c4 # 13:56 0- 6 tracing: replace __get_cpu_var uses with this_cpu_ptr git bisect good 6fb77936481538ba05726345d86af4b39128a8a9 # 14:03 20+ 1 arm: move arm_dma_limit to setup_dma_zone git bisect good d1cea07efbfa2723ca1b83d3a69d1f1000896d4d # 14:11 20+ 0 modules: use raw_cpu_write for initialization of per cpu refcount. git bisect bad a25982c15ae5298520033cd5848a82adf6a97376 # 14:16 0- 1 percpu: add preemption checks to __this_cpu ops git bisect good 26d02cfa385067c39c0407b022c01a011c2fbb51 # 14:30 20+ 0 net: replace __this_cpu_inc in route.c with raw_cpu_inc # first bad commit: [a25982c15ae5298520033cd5848a82adf6a97376] percpu: add preemption checks to __this_cpu ops git bisect good 26d02cfa385067c39c0407b022c01a011c2fbb51 # 14:46 60+ 1 net: replace __this_cpu_inc in route.c with raw_cpu_inc git bisect bad 0ffb2fe7b9c30082876fa3a17da018bf0632cf03 # 14:46 0- 19 Add linux-next specific files for 20140306 git bisect good 634e62cc4d41b66a249d3407e97fd57997dbf918 # 15:06 60+ 1 Revert "percpu: add preemption checks to __this_cpu ops" git bisect good c3bebc71c4bcdafa24b506adf0c1de3c1f77e2e0 # 15:20 60+ 0 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net git bisect good 1b0a7e3263168a06d3858798e48c5a21d1c78d3c # 15:47 60+ 2 Add linux-next specific files for 20140307 Thanks, Fengguang