Re: [PATCH 09/10] sched/fair: disable stealing if too many NUMA nodes

From: Steven Sistare
Date: Tue Oct 23 2018 - 09:19:24 EST


On 10/22/2018 10:59 AM, Steve Sistare wrote:
[...]
> diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
> index f18c416..b7d2070 100644
> --- a/kernel/sched/topology.c
> +++ b/kernel/sched/topology.c
> @@ -1337,6 +1337,30 @@ static void init_numa_topology_type(void)
> }
> }
>
> +DEFINE_STATIC_KEY_TRUE(sched_steal_allow);
> +static int sched_steal_node_limit;
> +#define SCHED_STEAL_NODE_LIMIT_DEFAULT 1

This is an oversight; I meant to suggest a value of 2. All my 2-socket
testing was done with stealing enabled.

- Steve