diff options
author | 2021-06-30 18:52:43 -0700 | |
---|---|---|
committer | 2021-06-30 20:47:31 -0700 | |
commit | 786dee864804f8e851cf0f258df2ccbb4ee03d80 (patch) | |
tree | a59290534e558fb8ce22895b94b37738a3bb7296 /mm/mapping_dirty_helpers.c | |
parent | selftests/vm: add test for MADV_POPULATE_(READ|WRITE) (diff) | |
download | wireguard-linux-786dee864804f8e851cf0f258df2ccbb4ee03d80.tar.xz wireguard-linux-786dee864804f8e851cf0f258df2ccbb4ee03d80.zip |
mm/memory_hotplug: rate limit page migration warnings
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.
Link: https://lkml.kernel.org/r/20210505140542.24935-1-georgi.djakov@linaro.org
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mapping_dirty_helpers.c')
0 files changed, 0 insertions, 0 deletions