[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1572704287-4444-1-git-send-email-yanghui.def@gmail.com>
Date: Sat, 2 Nov 2019 22:18:07 +0800
From: hui yang <yanghui.def@...il.com>
To: akpm@...ux-foundation.org
Cc: mhocko@...e.com, dan.j.williams@...el.com, yanghui.def@...il.com,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: [PATCH] mm: There should have an unit (kB)
From: YangHui <yanghui.def@...il.com>
- printk(KERN_CONT " %ld", zone->lowmem_reserve[i]);
+ printk(KERN_CONT " %ldkB", zone->lowmem_reserve[i]);
Make it look more perfect
Signed-off-by: YangHui <yanghui.def@...il.com>
---
mm/page_alloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index ecc3dba..ee5043a 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -5389,7 +5389,7 @@ void show_free_areas(unsigned int filter, nodemask_t *nodemask)
K(zone_page_state(zone, NR_FREE_CMA_PAGES)));
printk("lowmem_reserve[]:");
for (i = 0; i < MAX_NR_ZONES; i++)
- printk(KERN_CONT " %ld", zone->lowmem_reserve[i]);
+ printk(KERN_CONT " %ldkB", zone->lowmem_reserve[i]);
printk(KERN_CONT "\n");
}
--
2.7.4
Powered by blists - more mailing lists