Skip to content

sched: Idle load balance fixes

Jason Low lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sched: Fix updating rq->max_idle_balance_cost and rq->next_balance in idle_balance()kernel/sched/fair.c+8 -80 replies
2/2sched: Fix next_balance logic in rebalance_domains() and idle_balance()kernel/sched/fair.c+45 -238 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPreeti U Murthy
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] sched: Idle load balance fixes

[Resending to LKML]

This patchset includes fixes relating to idle_balance() and rebalance_domains(). These apply on top of the following patches:

https://lkml.org/lkml/2014/4/23/767
https://lkml.org/lkml/2014/4/23/764

Patch #1 addresses an issue introduced by commit e5fc6611 which potentially can cause rq->max_idle_balance_cost and rq->next_balance to not get updated when it should.

Patch #2 fixes how rq->next_balance gets updated in idle_balance() and rebalance_domains().

Jason Low (2):
sched: Fix updating rq->max_idle_balance_cost and rq->next_balance in
idle_balance()
sched: Fix next_balance logic in rebalance_domains() and
idle_balance()

 kernel/sched/fair.c |   84 ++++++++++++++++++++++++++++++++-------------------
 1 files changed, 53 insertions(+), 31 deletions(-)