diff options
| author | Yury Norov [NVIDIA] <yury.norov@gmail.com> | 2025-06-04 15:39:39 -0400 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2025-06-26 05:19:35 -0400 |
| commit | 15b0536313045c3fdd374b99f747b15278ac8895 (patch) | |
| tree | 4ebc88bccebfc136b2e4d2d3ab64186bcc58f443 /tools/perf/scripts/python | |
| parent | RDMA: hfi1: fix possible divide-by-zero in find_hw_thread_mask() (diff) | |
| download | linux-15b0536313045c3fdd374b99f747b15278ac8895.tar.gz linux-15b0536313045c3fdd374b99f747b15278ac8895.zip | |
RDMA: hfi1: simplify find_hw_thread_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.
Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com>
Link: https://patch.msgid.link/20250604193947.11834-4-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
