@@ -9753,7 +9753,6 @@ static bool sched_use_asym_prio(struct sched_domain *sd, int cpu)
9753
9753
/**
9754
9754
* sched_asym - Check if the destination CPU can do asym_packing load balance
9755
9755
* @env: The load balancing environment
9756
- * @sds: Load-balancing data with statistics of the local group
9757
9756
* @sgs: Load-balancing statistics of the candidate busiest group
9758
9757
* @group: The candidate busiest group
9759
9758
*
@@ -9772,8 +9771,7 @@ static bool sched_use_asym_prio(struct sched_domain *sd, int cpu)
9772
9771
* otherwise.
9773
9772
*/
9774
9773
static inline bool
9775
- sched_asym (struct lb_env * env , struct sd_lb_stats * sds , struct sg_lb_stats * sgs ,
9776
- struct sched_group * group )
9774
+ sched_asym (struct lb_env * env , struct sg_lb_stats * sgs , struct sched_group * group )
9777
9775
{
9778
9776
/* Ensure that the whole local core is idle, if applicable. */
9779
9777
if (!sched_use_asym_prio (env -> sd , env -> dst_cpu ))
@@ -9944,7 +9942,7 @@ static inline void update_sg_lb_stats(struct lb_env *env,
9944
9942
/* Check if dst CPU is idle and preferred to this group */
9945
9943
if (!local_group && env -> sd -> flags & SD_ASYM_PACKING &&
9946
9944
env -> idle != CPU_NOT_IDLE && sgs -> sum_h_nr_running &&
9947
- sched_asym (env , sds , sgs , group )) {
9945
+ sched_asym (env , sgs , group )) {
9948
9946
sgs -> group_asym_packing = 1 ;
9949
9947
}
9950
9948
0 commit comments