The patch titled Subject: mm: report which part of mem is being freed on initmem case has been added to the -mm tree. Its filename is mm-report-which-part-of-mem-is-being-freed-on-initmem-case.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/mm-report-which-part-of-mem-is-being-freed-on-initmem-case.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/mm-report-which-part-of-mem-is-being-freed-on-initmem-case.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: Jungseung Lee <js07.lee@xxxxxxxxxxx> Subject: mm: report which part of mem is being freed on initmem case Add the details for figuring out which parts of the kernel image is being freed on initmem case. Before: Freeing unused kernel memory: 1024K After: Freeing unused kernel image (initmem) memory: 1024K Link: https://lkml.kernel.org/r/1622706274-4533-1-git-send-email-js07.lee@xxxxxxxxxxx Signed-off-by: Jungseung Lee <js07.lee@xxxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/mm.h~mm-report-which-part-of-mem-is-being-freed-on-initmem-case +++ a/include/linux/mm.h @@ -2417,7 +2417,7 @@ static inline unsigned long free_initmem extern char __init_begin[], __init_end[]; return free_reserved_area(&__init_begin, &__init_end, - poison, "unused kernel"); + poison, "unused kernel image (initmem)"); } static inline unsigned long get_num_physpages(void) _ Patches currently in -mm which might be from js07.lee@xxxxxxxxxxx are mm-report-which-part-of-mem-is-being-freed-on-initmem-case.patch