The patch titled Subject: mm-sparsec-mark-populate_section_memmap-as-__meminit-v2 has been added to the -mm tree. Its filename is mm-sparsec-mark-populate_section_memmap-as-__meminit-v2.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-sparsec-mark-populate_section_memmap-as-__meminit-v2.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-sparsec-mark-populate_section_memmap-as-__meminit-v2.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Ilya Leoshkevich <iii@xxxxxxxxxxxxx> Subject: mm-sparsec-mark-populate_section_memmap-as-__meminit-v2 Do not touch mm/sparse.c version of __populate_section_memmap: its __init annotation is correct, since it is only called during init phase (by sparse_init_nid), and contains the call to another __init function. Spotted by kbuild test robot and Oscar Salvador. Link: http://lkml.kernel.org/r/20191030151639.41486-1-iii@xxxxxxxxxxxxx Signed-off-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx> Acked-by: David Hildenbrand <david@xxxxxxxxxx> Cc: Heiko Carstens <heiko.carstens@xxxxxxxxxx> Cc: Vasily Gorbik <gor@xxxxxxxxxxxxx> Cc: Oscar Salvador <OSalvador@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/sparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/sparse.c~mm-sparsec-mark-populate_section_memmap-as-__meminit-v2 +++ a/mm/sparse.c @@ -448,7 +448,7 @@ static unsigned long __init section_map_ return PAGE_ALIGN(sizeof(struct page) * PAGES_PER_SECTION); } -struct page __meminit *__populate_section_memmap(unsigned long pfn, +struct page __init *__populate_section_memmap(unsigned long pfn, unsigned long nr_pages, int nid, struct vmem_altmap *altmap) { unsigned long size = section_map_size(); _ Patches currently in -mm which might be from iii@xxxxxxxxxxxxx are scripts-gdb-fix-debugging-modules-compiled-with-hot-cold-partitioning.patch mm-sparsec-mark-populate_section_memmap-as-__meminit.patch mm-sparsec-mark-populate_section_memmap-as-__meminit-v2.patch