lkml.org 
[lkml]   [2018]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCHv2 3/7] sched/fair: Consider misfit tasks when load-balancing
On Thu, Mar 15, 2018 at 02:47:00PM +0000, Morten Rasmussen wrote:
> @@ -8548,6 +8569,14 @@ static struct rq *find_busiest_queue(struct lb_env *env,
> if (rt > env->fbq_type)
> continue;
>
> + /*
> + * For ASYM_CPUCAPACITY domains with misfit tasks we ignore
> + * load.
> + */
> + if (env->src_grp_type == group_misfit_task &&
> + rq->misfit_task_load)
> + return rq;
> +
> capacity = capacity_of(i);
>
> wl = weighted_cpuload(rq);

Similarly, should we not return worst misfit instead of the first?

\
 
 \ /
  Last update: 2018-04-11 12:47    [W:0.134 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site