From: Borislav Petkov <bp@alien8.de>
To: Ingo Molnar <mingo@kernel.org>, Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>,
lkml <linux-kernel@vger.kernel.org>
Subject: BUG: using smp_processor_id() in preemptible [00000000] code: asm/8267
Date: Sun, 24 Mar 2013 12:55:56 +0100 [thread overview]
Message-ID: <20130324115556.GA4866@pd.tnic> (raw)
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.
--
next reply other threads:[~2013-03-24 11:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-24 11:55 Borislav Petkov [this message]
2013-03-24 15:59 ` BUG: using smp_processor_id() in preemptible [00000000] code: asm/8267 Borislav Petkov
2013-03-26 18:34 ` Borislav Petkov
2013-03-27 6:02 ` Namhyung Kim
2013-03-27 9:49 ` Borislav Petkov
2013-03-27 10:42 ` Jiri Olsa
2013-03-27 14:09 ` Peter Zijlstra
2013-03-27 16:31 ` Borislav Petkov
2013-04-30 15:27 ` [RFCv2] " Jiri Olsa
2013-03-27 13:15 ` Joerg Roedel
2013-03-27 14:17 ` Peter Zijlstra
2013-03-27 14:37 ` Paul E. McKenney
2013-03-27 16:34 ` Joerg Roedel
2013-03-27 16:38 ` Borislav Petkov
2013-03-27 18:04 ` Paul E. McKenney
2013-03-27 19:07 ` Borislav Petkov
2013-03-27 19:20 ` Borislav Petkov
2013-03-27 19:22 ` Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130324115556.GA4866@pd.tnic \
--to=bp@alien8.de \
--cc=acme@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox