[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <878rt2atre.ffs@tglx>
Date: Tue, 22 Mar 2022 16:31:33 +0100
From: Thomas Gleixner <tglx@...utronix.de>
To: Steven Price <steven.price@....com>,
Peter Zijlstra <peterz@...radead.org>,
Vincent Donnefort <vincent.donnefort@....com>
Cc: linux-kernel@...r.kernel.org, Baokun Li <libaokun1@...wei.com>,
Dongli Zhang <dongli.zhang@...cle.com>,
Randy Dunlap <rdunlap@...radead.org>,
Valentin Schneider <valentin.schneider@....com>,
Yuan ZhaoXiong <yuanzhaoxiong@...du.com>,
YueHaibing <yuehaibing@...wei.com>,
Steven Price <steven.price@....com>,
Dietmar Eggemann <dietmar.eggemann@....com>
Subject: Re: [PATCH v2] cpu/hotplug: Set st->cpu earlier
On Wed, Mar 16 2022 at 15:36, Steven Price wrote:
> Setting the 'cpu' member of struct cpuhp_cpu_state in cpuhp_create() is
> too late as other callbacks can be made before that point.
What?
CPUHP_OFFLINE = 0,
CPUHP_CREATE_THREADS,
The create threads callback is the very first callback which is invoked
for a to be plugged CPU on the control CPU. So which earlier callback
can be invoked and fail?
Thanks,
tglx
Powered by blists - more mailing lists