Re: perf, percpu: panic in account_event

From: Peter Zijlstra
Date: Mon Aug 12 2013 - 05:24:36 EST


On Mon, Aug 05, 2013 at 05:19:18PM -0400, Sasha Levin wrote:
> Hi all,
>
> While fuzzing with trinity inside a KVM tools guest running latest -next kernel,
> I've stumbled on the following spew.
>
> It seems to happen on the following line in account_event():
>
> if (event->attr.freq)
> atomic_inc(&per_cpu(perf_freq_events, cpu)); <--- here
>

Right, Frederic even send a fix for this already. I suppose holidays got
in the way of getting it merged quickly though, sorry for that.

Merged his fix, will hopefully get it into tip soon.
--
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/