Re: [PATCH 10/14] mm: prepare to move subsection_map_init() to mm/sparse-vmemmap.c
From: David Hildenbrand (Arm)
Date: Fri Mar 20 2026 - 15:00:10 EST
On 3/17/26 20:51, Lorenzo Stoakes (Oracle) wrote:
> On Tue, Mar 17, 2026 at 05:56:48PM +0100, David Hildenbrand (Arm) wrote:
>> We want to move subsection_map_init() to mm/sparse-vmemmap.c.
>>
>> To prepare for getting rid of subsection_map_init() in mm/sparse.c
>> completely, use a static inline function for !CONFIG_SPARSEMEM_VMEMMAP.
>>
>> While at it, move the declaration to internal.h and rename it to
>> "sparse_init_subsection_map()".
>
> Why not init_sparse_subsection_map()??
> Or sparse_init_map_subsection()????
> Or <all other permutations>
>
> Joking that's fine ;)
To match sparse_init() of course :)
--
Cheers,
David