summaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/script_python.sh
diff options
context:
space:
mode:
authorYury Norov [NVIDIA] <yury.norov@gmail.com>2025-06-04 22:39:41 +0300
committerLeon Romanovsky <leon@kernel.org>2025-06-26 12:19:44 +0300
commit4ea9f618d73466234eeadf78c3a054d086c916af (patch)
treef0733e1d05e219273fc6f1fc8f59928c2a5b1b22 /tools/perf/tests/shell/script_python.sh
parent59ae2e3c6ad798072adbe9429534092fd471592c (diff)
downloadlinux-4ea9f618d73466234eeadf78c3a054d086c916af.tar.xz
RDMA: hfi1: use rounddown in find_hw_thread_mask()
num_cores_per_socket is calculated by dividing by node_affinity.num_online_nodes, but all users of this variable multiply it by node_affinity.num_online_nodes again. This effectively is the same as rounding it down by node_affinity.num_online_nodes. Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com> Link: https://patch.msgid.link/20250604193947.11834-6-yury.norov@gmail.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/tests/shell/script_python.sh')
0 files changed, 0 insertions, 0 deletions