From: Tomas Krcka Date: Thu, 23 Mar 2023 17:43:49 +0000 (+0000) Subject: mm: be less noisy during memory hotplug X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=21227f4e1b224d939b1570f81bfde7da34b3553d;p=users%2Fjedix%2Flinux-maple.git mm: be less noisy during memory hotplug 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 Suggested-by: Jan H. Schönherr Acked-by: David Hildenbrand Reviewed-by: Pasha Tatashin Signed-off-by: Andrew Morton --- diff --git a/mm/mm_init.c b/mm/mm_init.c index c88fbe74137c..dd3a6ed9663f 100644 --- a/mm/mm_init.c +++ b/mm/mm_init.c @@ -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