Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mm/memory_hotplug: quieting offline operation

On PowerPC, when dymically removing memory from a system we can see in the
console a lot of messages like this:

[ 186.575389] Offlined Pages 4096

This message is displayed on each LMB (256MB) removed, which means that we
removing 1TB of memory, this message is displayed 4096 times.

Moving it to DEBUG to not flood the console.

Link: https://lkml.kernel.org/r/20201211150157.91399-1-ldufour@linux.ibm.com
Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Nathan Lynch <nathanl@linux.ibm.com>
Cc: Scott Cheloha <cheloha@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Laurent Dufour and committed by
Linus Torvalds
7c33023a b50da6e9

+1 -1
+1 -1
mm/memory_hotplug.c
··· 1561 1561 1562 1562 /* Mark all sections offline and remove free pages from the buddy. */ 1563 1563 __offline_isolated_pages(start_pfn, end_pfn); 1564 - pr_info("Offlined Pages %ld\n", nr_pages); 1564 + pr_debug("Offlined Pages %ld\n", nr_pages); 1565 1565 1566 1566 /* 1567 1567 * The memory sections are marked offline, and the pageblock flags