[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87cyneq6og.ffs@tglx>
Date: Tue, 16 Jul 2024 06:53:03 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Jiaxun Yang <jiaxun.yang@...goat.com>, Peter Zijlstra
<peterz@...radead.org>, Huacai Chen <chenhuacai@...nel.org>, WANG Xuerui
<kernel@...0n.name>
Cc: linux-kernel@...r.kernel.org, loongarch@...ts.linux.dev, Jiaxun Yang
<jiaxun.yang@...goat.com>
Subject: Re: [PATCH v2 2/3] cpu/hotplug: Weak fallback for
arch_cpuhp_init_parallel_bringup
On Mon, Jul 15 2024 at 21:35, Jiaxun Yang wrote:
> It is a general assumption that architectures entitled to parallel
> bringup with CONFIG_HOTPLUG_PARALLEL do expect parallel bringup to
> be available.
I can't parse that sentence.
> Provide a weak fallback arch_cpuhp_init_parallel_bringup function
> to match this assumption.
I assume you want to say something like this:
CONFIG_HOTPLUG_PARALLEL expects the architecture to implement
arch_cpuhp_init_parallel_bringup() to decide whether paralllel hotplug
is possible and to do the necessary architecture specific
initialization.
There are architectures which can enable it unconditionally and do not
require architecture specific initialization.
Provide a wark fallback for arch_cpuhp_init_parallel_bringup() so that
such architectures are not forced to implement empty stub functions.
Thanks,
tglx
Powered by blists - more mailing lists