From: Greg KH <greg@kroah.com>
To: pjy@amazon.com
Cc: stable@vger.kernel.org, lmark@codeaurora.org
Subject: Re: Backport commit 786dee864804 ("mm/memory_hotplug: rate limit page migration warnings")
Date: Fri, 20 Oct 2023 16:26:09 +0200 [thread overview]
Message-ID: <2023102001-vision-preorder-3853@gregkh> (raw)
In-Reply-To: <mb61p4jiltmty.fsf@amazon.com>
On Fri, Oct 20, 2023 at 02:01:13PM +0000, pjy@amazon.com wrote:
>
> Please backport commit 786dee864804 ("mm/memory_hotplug: ratelimit page
> migration warnings") to 5.10 stable branch.
>
> Commit message:
> """
> When offlining memory the system can attempt to migrate a lot of pages, if
> there are problems with migration this can flood the logs. Printing all
> the data hogs the CPU and cause some RT threads to run for a long time,
> which may have some bad consequences.
>
> Rate limit the page migration warnings in order to avoid this.
> """
>
> We are sometimes seeing RCU stalls while offlining memory with the 5.10
> kernel due to the printing of these messages.
>
> Applying this patch solves the problem by ratelimiting the prints.
Now queued up, thanks.
greg k-h
prev parent reply other threads:[~2023-10-20 14:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-20 14:01 Backport commit 786dee864804 ("mm/memory_hotplug: rate limit page migration warnings") pjy
2023-10-20 14:26 ` Greg KH [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=2023102001-vision-preorder-3853@gregkh \
--to=greg@kroah.com \
--cc=lmark@codeaurora.org \
--cc=pjy@amazon.com \
--cc=stable@vger.kernel.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