Skip to content
Commit e9d30eb4 authored by Valentin Schneider's avatar Valentin Schneider Committed by Ionela Voinescu
Browse files

sched/fair: Add more sched_asym_cpucapacity static branch checks



Rik noted a while back that a handful of

  sd->flags & SD_ASYM_CPUCAPACITY

& family in the CFS load-balancer code aren't guarded by the
sched_asym_cpucapacity static branch.

The load-balancer is already doing a humongous amount of work, but turning
those checks into NOPs for those who don't need it is fairly
straightforward, so do that.

Suggested-by: default avatarRik van Riel <riel@surriel.com>
Signed-off-by: default avatarValentin Schneider <valentin.schneider@arm.com>
parent a601eb3c
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