BUG: using smp_processor_id() in preemptible [00000000] code:asm/8267

From: Borislav Petkov
Date: Sun Mar 24 2013 - 07:56:22 EST


Hi,

so I was tracing a small .c program like so:

$ ./perf record ~/test/asm

and here's what got spewed in dmesg. Kernel is plain -rc4. Any pending
fixes in tip I should try?

[ 3700.194208] BUG: using smp_processor_id() in preemptible [00000000] code: asm/8333
[ 3700.194226] caller is perf_event_task_ctx+0x55/0x140
[ 3700.194235] Pid: 8333, comm: asm Not tainted 3.9.0-rc4 #1
[ 3700.194243] Call Trace:
[ 3700.194261] [<ffffffff812b4182>] debug_smp_processor_id+0xd2/0xf0
[ 3700.194279] [<ffffffff810e5155>] perf_event_task_ctx+0x55/0x140
[ 3700.194296] [<ffffffff810e5412>] perf_event_task+0x1d2/0x3c0
[ 3700.194308] [<ffffffff810e52ad>] ? perf_event_task+0x6d/0x3c0
[ 3700.194324] [<ffffffff810e99a6>] perf_event_exit_task+0x166/0x250
[ 3700.194333] [<ffffffff810414be>] do_exit+0x27e/0xb20
[ 3700.194340] [<ffffffff8159ac63>] ? error_sti+0x5/0x6
[ 3700.194349] [<ffffffff8159a80d>] ? retint_swapgs+0xe/0x13
[ 3700.194358] [<ffffffff81041f1c>] do_group_exit+0x4c/0xc0
[ 3700.194365] [<ffffffff81041fa7>] sys_exit_group+0x17/0x20
[ 3700.194373] [<ffffffff8159b306>] system_call_fastpath+0x1a/0x1f

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/