Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit edd112fb authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Lingutla Chandrasekhar
Browse files

sched/fair: Force CPU capacity update from higher level sched domain



A CPU capacity is updated in update_cpu_capacity(). This is called
when the CPU is doing load balance in the lowest level sched domain.
The load balance is disabled for the lowest level sched domain, when
there is only 1 CPU in the higher level domain. When there is only
1 CPU in the higher capacity cluster, the CPU capacity and the
root domain's max_cpu_capacity are not getting updated correctly.

Due to the above mentioned problem, a task running on the lower
capacity CPU never upmigrates to the higher capacity CPU thinking
it is running on the max capacity CPU. Fix this by forcing the
CPU capacity update from a higher level sched domain if it has
only 1 CPU.

Change-Id: Iddb900962ab988ffbd08bc92348bd491fa2002ad
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 71636eec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment