linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm : Report which part of mem is being freed on initmem case
       [not found] <CGME20210603074737epcas1p4578329b14ee6d5cec7fbb002e014f7c2@epcas1p4.samsung.com>
@ 2021-06-03  7:44 ` Jungseung Lee
  0 siblings, 0 replies; only message in thread
From: Jungseung Lee @ 2021-06-03  7:44 UTC (permalink / raw)
  To: Andrew Morton, linux-mm, linux-kernel; +Cc: Jungseung Lee

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

Signed-off-by: Jungseung Lee <js07.lee@samsung.com>
---
 include/linux/mm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/mm.h b/include/linux/mm.h
index 8631ddf..62f0901 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -2426,7 +2426,7 @@ static inline unsigned long free_initmem_default(int poison)
 	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)
-- 
2.7.4



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

only message in thread, other threads:[~2021-06-03  7:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20210603074737epcas1p4578329b14ee6d5cec7fbb002e014f7c2@epcas1p4.samsung.com>
2021-06-03  7:44 ` [PATCH] mm : Report which part of mem is being freed on initmem case Jungseung Lee

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).