Skip to content

perf: Scheduling optimizations

Alexander Shishkin lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf: Don't re-schedule cpu flexible events needlesslykernel/events/core.c+5 -10 replies
2/2perf: Optimize event rescheduling on active contextskernel/events/core.c+69 -110 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] perf: Scheduling optimizations

Hi Peter,

These here two patches deal with rescheduling on active contexts. The common idea is that we shouldn't reschedule groups of higher priority than the ones that are being added or scheduled in. 1/1 takes on the scheduling path, where we don't want to touch cpu flexible groups if the scheduling context doesn't carry pinned groups. 1/2 deals with the enable/install cases, where we have to consider all four types of groups.

Alexander Shishkin (2):
perf: Don't re-schedule cpu flexible events needlessly
perf: Optimize event rescheduling on active contexts

 kernel/events/core.c | 86 ++++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 74 insertions(+), 12 deletions(-)
Signature · 1 line
2.11.0