perf/core: Optimize LBR callstack handling
Status from this message: The following commit has been merged into the perf/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | perf/core: Pass GFP flags to attach_task_ctx_data()kernel/ | +8 | 0 replies | |
| 2/3 | perf/core: Try to allocate task_ctx_data quicklykernel/ | +7 | 0 replies | |
| 3/3 | perf/core: Simplify __detach_global_ctx_data()kernel/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] perf/core: Optimize LBR callstack handling
Hello,
I found other problematic cases wrt LBR callstacks. Basically O(N^2) loop for every threads is too costly on large machines. We can use faster memory allocation and free methods to reduce the overhead.
Actually this approach is suggested by AI (Gemini).
Thanks,
Namhyung
Namhyung Kim (3):
perf/core: Pass GFP flags to attach_task_ctx_data() perf/core: Try to allocate task_ctx_data quickly perf/core: Simplify __detach_global_ctx_data()
kernel/events/core.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-)
Signature · 1 line
2.53.0.273.g2a3d683680-goog