[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <44d61059f01188afd833b0e889a360cd4189f293.camel@redhat.com>
Date: Fri, 06 Nov 2020 07:48:59 -0500
From: Qian Cai <cai@...hat.com>
To: Will Deacon <will@...nel.org>
Cc: paulmck@...nel.org, catalin.marinas@....com,
kernel-team@...roid.com, Peter Zijlstra <peterz@...radead.org>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] arm64/smp: Move rcu_cpu_starting() earlier
On Fri, 2020-11-06 at 10:37 +0000, Will Deacon wrote:
> > diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c
> > index 09c96f57818c..10729d2d6084 100644
> > --- a/arch/arm64/kernel/smp.c
> > +++ b/arch/arm64/kernel/smp.c
> > @@ -421,6 +421,8 @@ void cpu_die_early(void)
> >
> > update_cpu_boot_status(CPU_STUCK_IN_KERNEL);
> >
> > + rcu_report_dead(cpu);
>
> I think this is in the wrong place, see:
>
> https://lore.kernel.org/r/20201106103602.9849-1-will@kernel.org
>
> which seems to fix the problem for me.
Ah, I had not realized that cpu_psci_cpu_die() could no return. Your patchset
looks good to me.
Powered by blists - more mailing lists