Re: [PATCH] mm/sparse: correct init section annotations
"David Hildenbrand (Arm)" <[email protected]>
| Newsgroups | org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On 7/31/26 18:47, Sang-Heon Jeon wrote: > The !SPARSEMEM_EXTREME stub of sparse_index_init() has no annotation > but the SPARSEMEM_EXTREME variant is __meminit. So mark the stub > __meminit too. > > mminit_validate_memmodel_limits() is only called by memory_present(), > which is __init. So mark it __init. > > sparse_usagebuf and sparse_usagebuf_end are only used by > sparse_init_early_section(), sparse_usage_init() and sparse_usage_fini(), > which are all __init. So mark them __initdata. > > Signed-off-by: Sang-Heon Jeon <[email protected]> > --- Acked-by: David Hildenbrand (Arm) <[email protected]> -- Cheers, David