Skip to content

sched: drop for_each_numa_hop_mask()

Yury Norov linux-rdma lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: mellanox: drop mlx5_cpumask_default_spread()drivers/net/ethernet/mellanox/mlx5/core/eq.c+2 -266 replies
2/4Revert "sched/topology: Introduce for_each_numa_hop_mask()"include/linux/topology.h+0 -183 replies
3/4Revert "sched/topology: Introduce sched_numa_hop_mask()"include/linux/topology.h kernel/sched/topology.c+0 -401 reply
4/4lib/cpumask: don't mention for_each_numa_hop_mask in cpumask_local_spread()"lib/cpumask.c+0 -212 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJacob Keller
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] sched: drop for_each_numa_hop_mask()

Recently added mlx5_cpumask_default_spread() makes for_each_numa_hop_mask() opencoding cpumask_local_spread().

This series replaces mlx5_cpumask_default_spread() with generic cpumask_local_spread(). And because mlx5_cpumask_default_spread() is the only user of for_each_numa_hop_mask() machinery, drops it entirely.

Regarding for_each_numa_hop_mask(), I've got a small series introducing a better version of it - for_each_numa_cpu():

https://lore.kernel.org/netdev/[email protected]/T/

But with the lack of interest, I believe it's wotrth to drop for_each_numa_hop_mask() and put for_each_numa_cpu() on hold until further updates...

Yury Norov (4):
net: mellanox: drop mlx5_cpumask_default_spread() Revert "sched/topology: Introduce for_each_numa_hop_mask()" Revert "sched/topology: Introduce sched_numa_hop_mask()" lib/cpumask: don't mention for_each_numa_hop_mask in
cpumask_local_spread()"

 drivers/net/ethernet/mellanox/mlx5/core/eq.c | 28 ++---------------
 include/linux/topology.h                     | 25 ---------------
 kernel/sched/topology.c                      | 33 --------------------
 lib/cpumask.c                                | 21 -------------
 4 files changed, 2 insertions(+), 105 deletions(-)
Signature · 1 line
2.39.2