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