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

Skip to content
Commit b3d3f38e authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched/fair: Use CPU original capacity for max capacity CPU check



task_fits_max() checks if a task fits on a given CPU or not. Any task
can fit on the max capacity CPU. so task_fits_max() should return
true when called on a max capacity CPU. However the check inside
this funciton uses CPU capacity instead of original capacity when
comparing against max capacity. The CPU capacity can be lower than
the original capacity for a max capacity CPU due to RT tasks. In
such cases, we fail to upmigrate to the max capacity CPU.

Change-Id: I9f3c14b91d9a6d8a61bbd3a1fe7a8f4aa7415987
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 98cd82ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment