Skip to content

RFC perf fixes

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf: Tighten (and fix) the grouping conditioninclude/linux/perf_event.h kernel/events/core.c+13 -84 replies
2/3perf: Add a bit of paranoiakernel/events/core.c+18 -112 replies
3/3perf: Fix event->ctx lockingkernel/events/core.c+207 -370 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/3] perf fixes

Hi,

Here are a few perf patches that (hopefully) fix a number of reported (and at least one unreported afaik) issues as triggered by Vince's fuzzer.

After a few days of staring at that event->ctx mess and writing increasingly horrible patches, I came up with the approach from patch 3. It still isn't pretty or straight forward though; please give it careful consideration.

Jiri reported some success on an slightly older stack.