RFC perf: Fixing throttling related WARN
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | perf x86: Make intel_pmu_enable_all to enable only active eventsarch/ | +3 | 7 replies | |
| 2/2 | perf: Move throtling flag to perf_event_contextinclude/ kernel/ | +40 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/2] perf: Fixing throttling related WARN
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 <[email protected]>
Cc Corey Ashford <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Andi Kleen <[email protected]>
Cc Stephane Eranian <[email protected]>
--- 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(-)