* Ingo Molnar wrote: > * Peter Zijlstra wrote: > > > Hopefully the final version ;-) > > Started testing them in tip:core/ipi, thanks Peter! -tip testing found a new runtime warning - see it below. Config attached. Ingo [ 2.903171] calling init_kprobes+0x0/0x12f @ 1 [ 2.945871] Kprobe smoke test started [ 3.018374] ------------[ cut here ]------------ [ 3.021836] WARNING: at kernel/smp.c:332 smp_call_function_many+0x38/0x1d9() [ 3.021836] Hardware name: HP OmniBook PC [ 3.021836] Modules linked in: [ 3.021836] Pid: 1, comm: swapper Not tainted 2.6.29-rc6-tip-01845-g9f734f8-dirty #273 [ 3.021836] Call Trace: [ 3.021836] [] warn_slowpath+0x79/0x8f [ 3.021836] [] ? save_stack_trace+0x22/0x40 [ 3.021836] [] ? native_sched_clock+0x52/0x57 [ 3.021836] [] ? sched_clock+0xb/0x24 [ 3.021836] [] ? native_sched_clock+0x52/0x57 [ 3.021836] [] ? sched_clock+0xb/0x24 [ 3.021836] [] ? set_pte_at+0x14/0x18 [ 3.021836] [] ? vmap_pte_range+0xc1/0xe9 [ 3.021836] [] ? ptep_get_and_clear+0x1b/0x3b [ 3.021836] [] ? pmd_page_vaddr+0xd/0x19 [ 3.021836] [] smp_call_function_many+0x38/0x1d9 [ 3.021836] [] ? do_flush_tlb_all+0x0/0x2a [ 3.021836] [] ? do_flush_tlb_all+0x0/0x2a [ 3.021836] [] smp_call_function+0x21/0x28 [ 3.021836] [] on_each_cpu+0x14/0x2d [ 3.021836] [] flush_tlb_all+0x19/0x1b [ 3.021836] [] flush_tlb_kernel_range+0xd/0xf [ 3.021836] [] vmap_debug_free_range+0x1c/0x20 [ 3.021836] [] remove_vm_area+0x28/0x67 [ 3.021836] [] __vunmap+0x30/0xa1 [ 3.021836] [] vunmap+0x27/0x29 [ 3.021836] [] text_poke+0x12a/0x158 [ 3.021836] [] ? kprobe_target+0x0/0x15 [ 3.021836] [] arch_disarm_kprobe+0x13/0x15 [ 3.021836] [] __unregister_kprobe_top+0x68/0xda [ 3.021836] [] unregister_kretprobes+0x24/0x68 [ 3.021836] [] unregister_kretprobe+0x16/0x18 [ 3.021836] [] test_kretprobe+0x3d/0x64 [ 3.021836] [] init_test_probes+0xbd/0x131 [ 3.021836] [] init_kprobes+0x125/0x12f [ 3.021836] [] ? debug_spin_unlock+0x21/0x72 [ 3.021836] [] ? _raw_spin_unlock+0x15/0x1a [ 3.021836] [] ? pit_read+0xb2/0xcc [ 3.021836] [] ? init_kprobes+0x0/0x12f [ 3.021836] [] ? clocksource_read+0xd/0xf [ 3.021836] [] ? getnstimeofday+0x58/0xdb [ 3.021836] [] ? timespec_to_ktime+0xe/0x11 [ 3.021836] [] ? init_kprobes+0x0/0x12f [ 3.021836] [] do_one_initcall+0x6a/0x172 [ 3.021836] [] ? buffered_rmqueue+0x184/0x1a1 [ 3.021836] [] ? get_page_from_freelist+0x10a/0x177 [ 3.021836] [] ? __alloc_pages_internal+0x9b/0x380 [ 3.021836] [] ? native_sched_clock+0x52/0x57 [ 3.021836] [] ? sched_clock+0xb/0x24 [ 3.021836] [] ? get_from_free_list+0x32/0x39 [ 3.021836] [] ? debug_check_no_locks_freed+0x5b/0x8d [ 3.021836] [] ? native_sched_clock+0x52/0x57 [ 3.021836] [] ? sched_clock+0xb/0x24 [ 3.021836] [] ? lock_release_nested+0xa0/0xd9 [ 3.021836] [] ? proc_register+0xde/0xea [ 3.021836] [] ? __lock_release+0x4d/0x53 [ 3.021836] [] ? debug_spin_unlock+0x21/0x72 [ 3.021836] [] ? _raw_spin_unlock+0x15/0x1a [ 3.021836] [] ? _spin_unlock+0x22/0x25 [ 3.021836] [] ? proc_register+0xde/0xea [ 3.021836] [] ? create_proc_entry+0x72/0x86 [ 3.021836] [] ? register_irq_proc+0x87/0xa0 [ 3.021836] [] do_initcalls+0x12/0x25 [ 3.021836] [] ? kernel_init+0x0/0x97 [ 3.021836] [] do_basic_setup+0x1c/0x1e [ 3.021836] [] kernel_init+0x59/0x97 [ 3.021836] [] kernel_thread_helper+0x7/0x10 [ 3.021836] ---[ end trace 93d72a36b9146f22 ]--- [ 3.042695] ------------[ cut here ]------------ [ 3.045832] WARNING: at kernel/smp.c:332 smp_call_function_many+0x38/0x1d9() [ 3.045832] Hardware name: HP OmniBook PC [ 3.045832] Modules linked in: [ 3.045832] Pid: 1, comm: swapper Tainted: G W 2.6.29-rc6-tip-01845-g9f734f8-dirty #273 [ 3.045832] Call Trace: [ 3.045832] [] warn_slowpath+0x79/0x8f [ 3.045832] [] ? enable_8259A_irq+0x15/0x48 [ 3.045832] [] ? enable_8259A_irq+0x45/0x48 [ 3.045832] [] ? __lock_release+0x20/0x53 [ 3.045832] [] ? handle_level_irq+0x92/0xbf [ 3.045832] [] ? run_timer_softirq+0x2e/0x31 [ 3.045832] [] ? print_lock_contention_bug+0x11/0xa8 [ 3.045832] [] ? __lock_acquired+0xb7/0x154 [ 3.045832] [] ? report_probe+0x82/0x93 [ 3.045832] [] ? kretprobe_table_unlock+0x12/0x14 [ 3.045832] [] ? __lock_release+0x20/0x53 [ 3.045832] [] ? debug_spin_unlock+0x21/0x72 [ 3.045832] [] ? set_pte_at+0x14/0x18 [ 3.045832] [] ? vmap_pte_range+0xc1/0xe9 [ 3.045832] [] ? ptep_get_and_clear+0x1b/0x3b [ 3.045832] [] ? pmd_page_vaddr+0xd/0x19 [ 3.045832] [] smp_call_function_many+0x38/0x1d9 [ 3.045832] [] ? do_flush_tlb_all+0x0/0x2a [ 3.045832] [] ? do_flush_tlb_all+0x0/0x2a [ 3.045832] [] smp_call_function+0x21/0x28 [ 3.045832] [] on_each_cpu+0x14/0x2d [ 3.045832] [] flush_tlb_all+0x19/0x1b [ 3.045832] [] flush_tlb_kernel_range+0xd/0xf [ 3.045832] [] vmap_debug_free_range+0x1c/0x20 [ 3.045832] [] remove_vm_area+0x28/0x67 [ 3.045832] [] __vunmap+0x30/0xa1 [ 3.045832] [] vunmap+0x27/0x29 [ 3.045832] [] text_poke+0x12a/0x158 [ 3.045832] [] ? kprobe_target+0x0/0x15 [ 3.045832] [] arch_disarm_kprobe+0x13/0x15 [ 3.045832] [] __unregister_kprobe_top+0x68/0xda [ 3.045832] [] unregister_kretprobes+0x24/0x68 [ 3.045832] [] test_kretprobes+0xbb/0xc6 [ 3.045832] [] init_test_probes+0xdc/0x131 [ 3.045832] [] init_kprobes+0x125/0x12f [ 3.045832] [] ? debug_spin_unlock+0x21/0x72 [ 3.045832] [] ? _raw_spin_unlock+0x15/0x1a [ 3.045832] [] ? pit_read+0xb2/0xcc [ 3.045832] [] ? init_kprobes+0x0/0x12f [ 3.045832] [] ? clocksource_read+0xd/0xf [ 3.045832] [] ? getnstimeofday+0x58/0xdb [ 3.045832] [] ? timespec_to_ktime+0xe/0x11 [ 3.045832] [] ? init_kprobes+0x0/0x12f [ 3.045832] [] do_one_initcall+0x6a/0x172 [ 3.045832] [] ? buffered_rmqueue+0x184/0x1a1 [ 3.045832] [] ? get_page_from_freelist+0x10a/0x177 [ 3.045832] [] ? __alloc_pages_internal+0x9b/0x380 [ 3.045832] [] ? native_sched_clock+0x52/0x57 [ 3.045832] [] ? sched_clock+0xb/0x24 [ 3.045832] [] ? get_from_free_list+0x32/0x39 [ 3.045832] [] ? debug_check_no_locks_freed+0x5b/0x8d [ 3.045832] [] ? native_sched_clock+0x52/0x57 [ 3.045832] [] ? sched_clock+0xb/0x24 [ 3.045832] [] ? lock_release_nested+0xa0/0xd9 [ 3.045832] [] ? proc_register+0xde/0xea [ 3.045832] [] ? __lock_release+0x4d/0x53 [ 3.045832] [] ? debug_spin_unlock+0x21/0x72 [ 3.045832] [] ? _raw_spin_unlock+0x15/0x1a [ 3.045832] [] ? _spin_unlock+0x22/0x25 [ 3.045832] [] ? proc_register+0xde/0xea [ 3.045832] [] ? create_proc_entry+0x72/0x86 [ 3.045832] [] ? register_irq_proc+0x87/0xa0 [ 3.045832] [] do_initcalls+0x12/0x25 [ 3.045832] [] ? kernel_init+0x0/0x97 [ 3.045832] [] do_basic_setup+0x1c/0x1e [ 3.045832] [] kernel_init+0x59/0x97 [ 3.045832] [] kernel_thread_helper+0x7/0x10 [ 3.045832] ---[ end trace 93d72a36b9146f23 ]--- [ 3.057948] Kprobe smoke test passed successfully [ 3.062792] initcall init_kprobes+0x0/0x12f returned 0 after 152498 usecs [ 3.069705] calling utsname_sysctl_init+0x0/0x11 @ 1