Skip to content

RFC sched/fair: Rebalance tasks based on affinity

Jiri Olsa lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4sched/fair: Introduce sched_entity::dont_balanceinclude/linux/sched.h kernel/sched/fair.c kernel/sched/features.h+21 -33 replies
2/4sched/fair: Introduce idle enter/exit balance callbackskernel/sched/fair.c kernel/sched/idle.c kernel/sched/sched.h+37 -03 replies
3/4sched/fair: Add REBALANCE_AFFINITY rebalancing codekernel/sched/fair.c+99 -54 replies
4/4sched/fair: Add schedstat debug values for REBALANCE_AFFINITYinclude/linux/sched.h kernel/sched/debug.c kernel/sched/fair.c +1 more+25 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 0/4] sched/fair: Rebalance tasks based on affinity

hi,
please consider this to be more of a question for opinions on how to solve this issue ;-)

I'm following up on my previous post:
http://marc.info/?t=145975837400001&r=1&w=2

The patchset is working for my testcase and our other tests looks good so far, but I'm not sure I haven't broken something else or used the right wheel to implement this.

The issue itself and the fix are described in changelog of patch 3/4.

thanks for any feedback,
jirka

---
Jiri Olsa (4):
sched/fair: Introduce sched_entity::dont_balance sched/fair: Introduce idle enter/exit balance callbacks sched/fair: Add REBALANCE_AFFINITY rebalancing code sched/fair: Add schedstat debug values for REBALANCE_AFFINITY

 include/linux/sched.h   |   4 +++
 kernel/sched/debug.c    |   4 +++
 kernel/sched/fair.c     | 170 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 kernel/sched/features.h |   1 +
 kernel/sched/idle.c     |   2 ++
 kernel/sched/sched.h    |   8 ++++++
 6 files changed, 181 insertions(+), 8 deletions(-)