[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YH8YTJfCkFJcGu30@hirez.programming.kicks-ass.net>
Date: Tue, 20 Apr 2021 20:07:08 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Vincent Donnefort <vincent.donnefort@....com>
Cc: Valentin Schneider <valentin.schneider@....com>,
tglx@...utronix.de, mingo@...nel.org, bigeasy@...utronix.de,
swood@...hat.com, juri.lelli@...hat.com,
vincent.guittot@...aro.org, dietmar.eggemann@....com,
rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de,
bristot@...hat.com, qais.yousef@....com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] sched: Use cpu_dying() to fix balance_push vs
hotplug-rollback
On Tue, Apr 20, 2021 at 05:53:40PM +0100, Vincent Donnefort wrote:
> All good with that snippet on my end.
>
> I wonder if balance_push() shouldn't use the cpu_of() accessor
> instead of rq->cpu.
That might be a personal quirk of mine, but for code that is under
CONFIG_SMP (as all balancing code must be) I tend to prefer the more
explicit rq->cpu usage. cpu_of() obviously also works.
> Otherwise,
>
> + Reviewed-by: Vincent Donnefort <vincent.donnefort@....com>
Thanks!, now I get to write a Changelog :-)
Powered by blists - more mailing lists