[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YAmMKoBnIdgsM4wG@hirez.programming.kicks-ass.net>
Date: Thu, 21 Jan 2021 15:14:02 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Valentin Schneider <valentin.schneider@....com>
Cc: mingo@...nel.org, tglx@...utronix.de, linux-kernel@...r.kernel.org,
jiangshanlai@...il.com, cai@...hat.com, vincent.donnefort@....com,
decui@...rosoft.com, paulmck@...nel.org,
vincent.guittot@...aro.org, rostedt@...dmis.org, tj@...nel.org
Subject: Re: [PATCH -v3 3/9] sched: Dont run cpu-online with balance_push()
enabled
On Thu, Jan 21, 2021 at 02:00:45PM +0000, Valentin Schneider wrote:
> On 21/01/21 11:17, Peter Zijlstra wrote:
> > @@ -7608,6 +7614,12 @@ int sched_cpu_dying(unsigned int cpu)
> > }
> > rq_unlock_irqrestore(rq, &rf);
> >
> > + /*
> > + * Should really be after we clear cpu_online(), but we're in
> > + * stop_machine(), so it all works.
> > + */
>
> I believe you noted yourself in some earlier version that this *is* running
> with cpu_online(cpu) == false, __cpu_disable() being invoked before the
> _DYING .teardown callbacks are run.
Argh! lemme go fix that comment.
Powered by blists - more mailing lists