diff options
| author | Yury Norov (NVIDIA) <yury.norov@gmail.com> | 2025-12-06 23:05:42 -0500 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-01-08 12:43:56 +0100 |
| commit | ff1de90dd7a69ef43586683535ad87ab899a1214 (patch) | |
| tree | 810be0215c7df05a279e3b68ffdb7eb47d09b23f /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 6ab7973f254071faf20fe5fcc502a3fe9ca14a47 (diff) | |
sched/fair: Drop useless cpumask_empty() in find_energy_efficient_cpu()
cpumask_empty() call is O(N) and useless because the previous
cpumask_and() returns false for empty 'cpus'. Drop it.
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Madadi Vineeth Reddy <vineethr@linux.ibm.com>
Reviewed-by: K Prateek Nayak <kprateek.nayak@amd.com>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://patch.msgid.link/20251207040543.407695-1-yury.norov@gmail.com
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
