Skip to content

perf: Various event scheduling improvements

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 of 6 patches 9 repliesIn review

5 of 6 patches are in this archive. The cover letter announces 6.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/6list: Introduce list_rotate_left()include/linux/list.h+14 -00 replies
3/6perf: Round robin groups of events using list_rotate_left()kernel/perf_event.c+3 -103 replies
4/6perf: Export software-only event group characteristic as a flaginclude/linux/perf_event.h kernel/perf_event.c+16 -190 replies
5/6perf: Don't rotate pinned groupskernel/perf_event.c+1 -20 replies
6/6perf: Increase round-robin fairness of flexible eventskernel/perf_event.c+5 -04 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/6] perf: Various event scheduling improvements

Hi,

These patches bring (I hope) a bit more scalability and fairness to the perf events scheduling.

But this is only an introduction as there is still some work to do, like ensuring all pinned events have been scheduled before flexible ones (for now we schedule in order cpu pinned, cpu flexible, task pinned, task flexible), among other improvements.

Frederic Weisbecker (6):
perf/core: Split context's event group list into pinned and non-pinned lists
list: Introduce list_rotate_left()
perf: Round robin groups of events using list_rotate_left()
perf: Export software-only event group characteristic as a flag
perf: Don't rotate pinned groups
perf: Increase round-robin fairness of flexible events

 include/linux/list.h       |   14 +++
 include/linux/perf_event.h |    8 +-
 kernel/perf_event.c        |  262 +++++++++++++++++++++++++++-----------------
 3 files changed, 184 insertions(+), 100 deletions(-)