Backport commit 786dee864804 ("mm/memory_hotplug: rate limit page migration warnings")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Thanks,
Puranjay



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux