lkml.org 
[lkml]   [2017]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] sched: Fix numabalancing to work with isolated cpus
From
Date
On Tue, 2017-04-04 at 22:57 +0530, Srikar Dronamraju wrote:

> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
> index f045a35..f853dc0 100644
> --- a/kernel/sched/fair.c
> +++ b/kernel/sched/fair.c
> @@ -1666,6 +1666,10 @@ static void task_numa_find_cpu(struct task_numa_env *env,
> > > > if (!cpumask_test_cpu(cpu, &env->p->cpus_allowed))
> > > > > continue;
>
> +> > > /* Skip isolated cpus */
> +> > > if (cpumask_test_cpu(cpu, cpu_isolated_map))
> +> > > > continue;

Methinks that should check for !cpu_rq(cpu)->sd, so the thing doesn't
screw up cpuset isolation either.

-Mike

\
 
 \ /
  Last update: 2017-04-06 09:38    [W:0.149 / U:0.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site