Skip to content

sched/fair: Core sched wake up path improvements

Fernand Sieber lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4sched/fair: Fix cookie check on __select_idle_cpu()kernel/sched/fair.c kernel/sched/sched.h+4 -152 replies
2/4sched/fair: Still look for the idlest cpu with no matching cookiekernel/sched/fair.c+15 -23 replies
3/4sched/fair: Add cookie checks on wake idle pathkernel/sched/fair.c kernel/sched/sched.h+39 -130 replies
4/4sched/fair: Add more core cookie check in wake up fast pathkernel/sched/fair.c+4 -45 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/4] sched/fair: Core sched wake up path improvements

This patch series addresses several issues and improvements in the core scheduling within the fair scheduler's wake-up paths. The overall result is better task placement reducing force idle.

The main issues addressed are as follows:

Slow path:
1. Fix incorrect cookie matching logic that wrongly discards idle cores
2. Better fallback logic when no cookie matching target is found

Fast path:
3. Add cookie checks in wake affine idle to prevent force idle
4. Enhance task selection in select idle sibling to consider cookies

Fernand Sieber (4):
sched/fair: Fix cookie check on __select_idle_cpu() sched/fair: Still look for the idlest cpu with no matching cookie sched/fair: Add cookie checks on wake idle path sched/fair: Add more core cookie check in wake up fast path

 kernel/sched/fair.c  | 49 ++++++++++++++++++++++++++++++++------------
 kernel/sched/sched.h | 41 ++++++++++++++++++++----------------
 2 files changed, 59 insertions(+), 31 deletions(-)

--
2.43.0

Amazon Development Centre (South Africa) (Proprietary) Limited 29 Gogosoa Street, Observatory, Cape Town, Western Cape, 7925, South Africa Registration Number: 2004 / 034463 / 07