hi, we managed to trigger perf WARN (described in patch 2), but only on AMD system with 48 CPUs.
I believe the reason is a race in throttling code and I tried to fix it. So far my testing looks ok, but I suspect I broke something else.. ;-) thanks for comments, jirka Signed-off-by: Jiri Olsa <jo...@redhat.com> Cc: Corey Ashford <cjash...@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweis...@gmail.com> Cc: Paul Mackerras <pau...@samba.org> Cc: Peter Zijlstra <a.p.zijls...@chello.nl> Cc: Ingo Molnar <mi...@kernel.org> Cc: Arnaldo Carvalho de Melo <a...@redhat.com> Cc: Andi Kleen <a...@firstfloor.org> Cc: Stephane Eranian <eran...@google.com> --- arch/x86/kernel/cpu/perf_event_intel.c | 4 +++- include/linux/perf_event.h | 2 +- kernel/events/core.c | 67 +++++++++++++++++++++++++++++++++++++++---------------------------- 3 files changed, 43 insertions(+), 30 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/