[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251208085059.GB3707891@noisy.programming.kicks-ass.net>
Date: Mon, 8 Dec 2025 09:50:59 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: "Yury Norov (NVIDIA)" <yury.norov@...il.com>
Cc: Ingo Molnar <mingo@...hat.com>, Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Steven Rostedt <rostedt@...dmis.org>,
Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
Valentin Schneider <vschneid@...hat.com>,
linux-kernel@...r.kernel.org,
Markus Elfring <Markus.Elfring@....de>,
Madadi Vineeth Reddy <vineethr@...ux.ibm.com>,
K Prateek Nayak <kprateek.nayak@....com>
Subject: Re: [PATCH RESEND] sched: fair: drop useless cpumask_empty() in
find_energy_efficient_cpu()
On Sat, Dec 06, 2025 at 11:05:42PM -0500, Yury Norov (NVIDIA) wrote:
> cpumask_empty() call is O(N) and useless because the previous
> cpumask_and() returns false for empty 'cpus'. Drop it.
>
> CC: Markus Elfring <Markus.Elfring@....de>
> Reviewed-by: Madadi Vineeth Reddy <vineethr@...ux.ibm.com>
> Reviewed-by: K Prateek Nayak <kprateek.nayak@....com>
> Reviewed-by: Vincent Guittot <vincent.guittot@...aro.org>
> Signed-off-by: Yury Norov (NVIDIA) <yury.norov@...il.com>
Picked it (and the other two) up for processing after rc1.
Powered by blists - more mailing lists