summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYury Norov [NVIDIA] <yury.norov@gmail.com>2025-06-04 15:39:40 -0400
committerLeon Romanovsky <leon@kernel.org>2025-06-26 05:19:39 -0400
commit59ae2e3c6ad798072adbe9429534092fd471592c (patch)
tree23d5b57da167d20762ed73fee7442d2ee8d9cb5d /tools/perf/scripts/python
parent15b0536313045c3fdd374b99f747b15278ac8895 (diff)
RDMA: hfi1: simplify init_real_cpu_mask()
The function opencodes cpumask_nth() and cpumask_clear_cpus(). The dedicated helpers are easier to use and usually much faster than opencoded for-loops. While there, drop useless clear of real_cpu_mask. Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com> Link: https://patch.msgid.link/20250604193947.11834-5-yury.norov@gmail.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions