Re: [PATCH 2/4] Revert "sched/topology: Introduce for_each_numa_hop_mask()"

From: Jacob Keller
Date: Mon Sep 25 2023 - 19:01:35 EST




On 9/25/2023 3:55 PM, Yury Norov wrote:
> On Mon, Sep 25, 2023 at 3:46 PM Jacob Keller <jacob.e.keller@xxxxxxxxx> wrote:
>>
>>
>>
>> On 9/24/2023 7:05 PM, Yury Norov wrote:
>>> Now that the only user of for_each_numa_hop_mask() is switched to using
>>> cpumask_local_spread(), for_each_numa_hop_mask() is a dead code. Thus,
>>> revert commit 06ac01721f7d ("sched/topology: Introduce
>>> for_each_numa_hop_mask()").
>>>
>>> Signed-off-by: Yury Norov <yury.norov@xxxxxxxxx>
>>> Signed-off-by: Yury Norov <ynorov@xxxxxxxxxx>
>>> ---
>>> include/linux/topology.h | 18 ------------------
>>> 1 file changed, 18 deletions(-)
>>>
>>> diff --git a/include/linux/topology.h b/include/linux/topology.h
>>> index fea32377f7c7..344c2362755a 100644
>>> --- a/include/linux/topology.h
>>> +++ b/include/linux/topology.h
>>> @@ -261,22 +261,4 @@ sched_numa_hop_mask(unsigned int node, unsigned int hops)
>>> }
>>> #endif /* CONFIG_NUMA */
>>>
>>
>> Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>
>>
>> I might have squashed all of 2 through 4 into a single patch but not a
>> big deal.
>
> I just wanted to keep the changes more trackable. No objections to squash 2-4,
> whatever maintainers will feel better.
>
> Thanks,
> Yury

I'm fine with keeping them separate.