[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <21fda84b-3d66-e8c1-f384-026adbc28ac4@arm.com>
Date: Thu, 15 Jul 2021 14:33:52 +0200
From: Dietmar Eggemann <dietmar.eggemann@....com>
To: Valentin Schneider <valentin.schneider@....com>,
linux-kernel@...r.kernel.org
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>,
Vincent Guittot <vincent.guittot@...aro.org>
Subject: Re: [PATCH] sched/fair: Update nohz.next_balance for newly NOHZ-idle
CPUs
On 14/07/2021 13:39, Valentin Schneider wrote:
[...]
> @@ -8942,6 +8946,10 @@ void __init sched_init(void)
> cpumask_size(), GFP_KERNEL, cpu_to_node(i));
> per_cpu(select_idle_mask, i) = (cpumask_var_t)kzalloc_node(
> cpumask_size(), GFP_KERNEL, cpu_to_node(i));
> +#ifdef CONFIG_NOHZ_COMMON
> + per_cpu(nohz_balance_mask, i) = (cpumask_var_t)kzalloc_node(
> + cpumask_size(), GFP_KERNEL, cpu_to_node(i));
> +#endif /* CONFIG_NOHZ_COMMON */
> }
> #endif /* CONFIG_CPUMASK_OFFSTACK */
s/CONFIG_NOHZ_COMMON/CONFIG_NO_HZ_COMMON
Otherwise CONFIG_CPUMASK_OFFSTACK system will have issues.
[...]
Powered by blists - more mailing lists