mm: be less noisy during memory hotplug
authorTomas Krcka <krckatom@amazon.de>
Thu, 23 Mar 2023 17:43:49 +0000 (17:43 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 6 Apr 2023 02:42:58 +0000 (19:42 -0700)
Turn a pr_info() into a pr_debug() to prevent dmesg spamming on systems
where memory hotplug is a frequent operation.

Link: https://lkml.kernel.org/r/20230323174349.35990-1-krckatom@amazon.de
Signed-off-by: Tomas Krcka <krckatom@amazon.de>
Suggested-by: Jan H. Schönherr <jschoenh@amazon.de>
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mm_init.c

index c88fbe7..dd3a6ed 100644 (file)
@@ -1086,7 +1086,7 @@ void __ref memmap_init_zone_device(struct zone *zone,
                                     compound_nr_pages(altmap, pfns_per_compound));
        }
 
-       pr_info("%s initialised %lu pages in %ums\n", __func__,
+       pr_debug("%s initialised %lu pages in %ums\n", __func__,
                nr_pages, jiffies_to_msecs(jiffies - start));
 }
 #endif