Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Muchun Song <muchun.song@linux.dev>
To: Enze Li <lienze@kylinos.cn>
Cc: osalvador@suse.de, david@kernel.org, akpm@linux-foundation.org,
	linux-mm@kvack.org, enze.li@gmx.com
Subject: Re: [PATCH] mm/hugetlb: prefix log messages via pr_fmt
Date: Sat, 10 Oct 2026 17:26:42 +0800	[thread overview]
Message-ID: <13D572FF-FADB-4C51-ADF8-0504D03CEF34@linux.dev> (raw)
In-Reply-To: <20261010092333.137126-1-lienze@kylinos.cn>



> On Oct 10, 2026, at 17:23, Enze Li <lienze@kylinos.cn> wrote:
> 
> Pretty much every pr_* message in this file starts with "HugeTLB: ",
> typed out by hand, and one of them even drifted to lowercase ("hugetlb:").
> hugetlb_vmemmap.c already handles this with pr_fmt, so let's do the same
> here instead of repeating the prefix over and over.
> 
> The output stays the same for almost everything; the only tweaks are that
> the lowercase message now matches the others, and the ratelimited "killed
> due to inadequate hugepage pool" warning picks up the prefix like
> everything else.
> 
> Signed-off-by: Enze Li <lienze@kylinos.cn>

I wanted to do this a long time ago, but I never got around to it.
Thanks for your work.

Acked-by: Muchun Song <muchun.song@linux.dev>

Thanks.


      reply	other threads:[~2026-10-10  9:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-10  9:23 [PATCH] mm/hugetlb: prefix log messages via pr_fmt Enze Li
2026-10-10  9:26 ` Muchun Song [this message]

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=13D572FF-FADB-4C51-ADF8-0504D03CEF34@linux.dev \
    --to=muchun.song@linux.dev \
    --cc=akpm@linux-foundation.org \
    --cc=david@kernel.org \
    --cc=enze.li@gmx.com \
    --cc=lienze@kylinos.cn \
    --cc=linux-mm@kvack.org \
    --cc=osalvador@suse.de \
    /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