mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + mm-report-which-part-of-mem-is-being-freed-on-initmem-case.patch added to -mm tree
@ 2021-06-04  2:31 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-06-04  2:31 UTC (permalink / raw)
  To: akpm, js07.lee, mm-commits


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@samsung.com>
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@samsung.com
Signed-off-by: Jungseung Lee <js07.lee@samsung.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 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@samsung.com are

mm-report-which-part-of-mem-is-being-freed-on-initmem-case.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-04  2:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04  2:31 + mm-report-which-part-of-mem-is-being-freed-on-initmem-case.patch added to -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).