RDMA: hfi1: cpumasks usage fixes
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | cpumask: add cpumask_clear_cpus()include/ | +12 | 0 replies | |
| 2/7 | RDMA: hfi1: fix possible divide-by-zero in find_hw_thread_mask()drivers/ | +24 | 0 replies | |
| 3/7 | RDMA: hfi1: simplify find_hw_thread_mask()drivers/ | +4 | 0 replies | |
| 4/7 | RDMA: hfi1: simplify init_real_cpu_mask()drivers/ | +5 | 0 replies | |
| 5/7 | RDMA: hfi1: use rounddown in find_hw_thread_mask()drivers/ | +5 | 0 replies | |
| 6/7 | RDMA: hfi1: simplify hfi1_get_proc_affinity()drivers/ | +13 | 0 replies | |
| 7/7 | RDMI: hfi1: drop cpumask_empty() call in hfi1/affinity.cdrivers/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] RDMA: hfi1: cpumasks usage fixes
The driver uses cpumasks API in a non-optimal way; partially because of absence of proper functions. Fix this and nearby logic.
Yury Norov [NVIDIA] (7):
cpumask: add cpumask_clear_cpus()
RDMA: hfi1: fix possible divide-by-zero in find_hw_thread_mask()
RDMA: hfi1: simplify find_hw_thread_mask()
RDMA: hfi1: simplify init_real_cpu_mask()
RDMA: hfi1: use rounddown in find_hw_thread_mask()
RDMA: hfi1: simplify hfi1_get_proc_affinity()
RDMI: hfi1: drop cpumask_empty() call in hfi1/affinity.c
drivers/infiniband/hw/hfi1/affinity.c | 96 +++++++++++---------------- include/linux/cpumask.h | 12 ++++ 2 files changed, 49 insertions(+), 59 deletions(-)
Signature · 1 line
2.43.0