Re: [PATCH] mm: Be less noisy during memory hotplug

From: David Hildenbrand
Date: Thu Mar 23 2023 - 13:28:23 EST


On 23.03.23 18:19, Tomas Krcka wrote:
Turn a pr_info() into a pr_debug() to prevent dmesg spamming on systems
where memory hotplug is a frequent operation.

Fixes: 966cf44f637e ("mm: defer ZONE_DEVICE page initialization to the point where we init pgmap")


Fixes? I suggest top drop that tag here.

Suggested-by: Jan H. Schönherr <jschoenh@xxxxxxxxx>
Signed-off-by: Tomas Krcka <krckatom@xxxxxxxxx>
---
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 ac1fc986af44..14d70f4e6c0a 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -6959,7 +6959,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));
}

Acked-by: David Hildenbrand <david@xxxxxxxxxx>

--
Thanks,

David / dhildenb