linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Tomas Krcka <krckatom@amazon.de>
To: <david@redhat.com>
Cc: Tomas Krcka <krckatom@amazon.de>,
	Andrew Morton <akpm@linux-foundation.org>, <linux-mm@kvack.org>,
	<linux-kernel@vger.kernel.org>
Subject: [PATCH v2] mm: Be less noisy during memory hotplug
Date: Thu, 23 Mar 2023 17:43:49 +0000	[thread overview]
Message-ID: <20230323174349.35990-1-krckatom@amazon.de> (raw)
In-Reply-To: <a9985035-237a-467c-6516-f996d56cb7e5@redhat.com>

Turn a pr_info() into a pr_debug() to prevent dmesg spamming on systems
where memory hotplug is a frequent operation.

Suggested-by: Jan H. Schönherr <jschoenh@amazon.de>
Signed-off-by: Tomas Krcka <krckatom@amazon.de>
---
 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));
 }
 
-- 
2.39.2




Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879



  reply	other threads:[~2023-03-23 17:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-23 17:19 [PATCH] " Tomas Krcka
2023-03-23 17:27 ` David Hildenbrand
2023-03-23 17:43   ` Tomas Krcka [this message]
2023-03-23 18:37 ` Pasha Tatashin
2023-03-23 19:06   ` Pasha Tatashin
2023-03-29 20:46     ` Krcka, Tomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230323174349.35990-1-krckatom@amazon.de \
    --to=krckatom@amazon.de \
    --cc=akpm@linux-foundation.org \
    --cc=david@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox