Re: [PATCH 3/3] sched/numa: Limit the amount of imbalance that can exist at fork time

From: Vincent Guittot
Date: Tue Nov 17 2020 - 09:31:37 EST


On Tue, 17 Nov 2020 at 15:18, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> On Tue, Nov 17, 2020 at 01:42:22PM +0000, Mel Gorman wrote:
> > - if (local_sgs.idle_cpus)
> > + if (local_sgs.idle_cpus >= (sd->span_weight >> 2))
> > return NULL;
>
> Is that the same 25% ?

same question for me
could we encapsulate this 25% allowed imbalance like for adjust_numa_imbalance