Skip to content
Commit 7e0d241d authored by Qais Yousef's avatar Qais Yousef Committed by Deepak Kumar Mishra
Browse files

sched/uclamp: Make asym_fits_capacity() use util_fits_cpu()



Use the new util_fits_cpu() to ensure migration margin and capacity
pressures are taken into account correctly when uclamp is being used
otherwise we will fail to consider CPUs as fitting in scenarios where
they should.

s/asym_fits_capacity/asym_fits_cpu/ to better reflect what it does now.

Fixes: b4c9c9f1 ("sched/fair: Prefer prev cpu in asymmetric wakeup path")
Signed-off-by: Qais Yousef's avatarQais Yousef <qais.yousef@arm.com>

# Conflicts:
#	kernel/sched/fair.c
parent dc558a83
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