Re: WARNING: at arch/x86/kernel/cpu/perf_event.c:989

From: Stephane Eranian
Date: Thu Feb 02 2012 - 17:22:55 EST


Thanks for the bug report.
I did fix a couple of those in intel_ds.c and intel_lbr.c, obviously
there is another one in x86_pmu_start().
I'll post a patch to remove that warning.


On Thu, Feb 2, 2012 at 10:32 PM, Markus Trippelsdorf
<markus@xxxxxxxxxxxxxxx> wrote:
> On 2012.02.02 at 22:17 +0100, Markus Trippelsdorf wrote:
>> The following warning is easily reproducible after todays
>> 'perf-urgent-for-mingo' merge by just running "perf top":
>>
>> ------------[ cut here ]------------
>> WARNING: at arch/x86/kernel/cpu/perf_event.c:989 x86_pmu_start+0xa5/0x100()
>> Hardware name: System Product Name
>> Pid: 0, comm: swapper/2 Not tainted 3.3.0-rc2-00068-g24b36da-dirty #22
>> Call Trace:
>> Â<IRQ> Â[<ffffffff81054ba0>] ? warn_slowpath_common+0x60/0xa0
>> Â[<ffffffff8103e1a5>] ? x86_pmu_start+0xa5/0x100
>> Â[<ffffffff8109f062>] ? perf_adjust_freq_unthr_context.part.82+0xe2/0x140
>> Â[<ffffffff8109f260>] ? perf_event_task_tick+0x1a0/0x280
>> Â[<ffffffff81078be3>] ? scheduler_tick+0xc3/0x140
>> Â[<ffffffff810615b5>] ? update_process_times+0x55/0x80
>> Â[<ffffffff8108904d>] ? tick_sched_timer+0x4d/0xa0
>> Â[<ffffffff81072d1b>] ? __run_hrtimer.isra.32+0x3b/0xc0
>> Â[<ffffffff810735e5>] ? hrtimer_interrupt+0xc5/0x1e0
>> Â[<ffffffff81045de3>] ? smp_apic_timer_interrupt+0x63/0xa0
>> Â[<ffffffff8147768b>] ? apic_timer_interrupt+0x6b/0x70
>> Â<EOI> Â[<ffffffff81039100>] ? default_idle+0x20/0x40
>> Â[<ffffffff81039172>] ? amd_e400_idle+0x52/0x100
>> Â[<ffffffff81030156>] ? cpu_idle+0xb6/0xe0
>> ---[ end trace 7dc3992f562261b6 ]---
>
> Most likely caused by e050e3f0a71b :
> Âperf: Fix broken interrupt rate throttling
>
> CCing Stephane.
>
> --
> Markus
--
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/