mm-ratelimit-min_free_kbytes-adjustment-messages.patch removed from -mm tree
The quilt patch titled
Subject: mm: ratelimit min_free_kbytes adjustment messages
has been removed from the -mm tree. Its filename was
mm-ratelimit-min_free_kbytes-adjustment-messages.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Breno Leitao <[email protected]>
Subject: mm: ratelimit min_free_kbytes adjustment messages
Date: Tue, 17 Mar 2026 08:33:59 -0700
The "raising min_free_kbytes" pr_info message in set_recommended_min_free_kbytes() and the "min_free_kbytes is not updated to" pr_warn in calculate_min_free_kbytes() can spam the kernel log when called repeatedly.
Switch the pr_info in set_recommended_min_free_kbytes() and the pr_warn in calculate_min_free_kbytes() to their _ratelimited variants to prevent the log spam for this message.
---
mm/khugepaged.c | 4 ++-- mm/page_alloc.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
mm/khugepaged.c renamed from mm/khugepaged.c~mm-ratelimit-min_free_kbytes-adjustment-messages +2 -2
@@ -2701,8 +2701,8 @@ void set_recommended_min_free_kbytes(voiif (recommended_min > min_free_kbytes) {if (user_min_free_kbytes >=0 ) -pr_info ("raising min_free_kbytes from %d to %lu to help transparent hugepage allocations\n" , - min_free_kbytes, recommended_min); +pr_info_ratelimited ("raising min_free_kbytes from %d to %lu to help transparent hugepage allocations\n" , + min_free_kbytes, recommended_min); min_free_kbytes = recommended_min; }
mm/page_alloc.c renamed from mm/page_alloc.c~mm-ratelimit-min_free_kbytes-adjustment-messages +2 -2
@@ -6514,8 +6514,8 @@ void calculate_min_free_kbytes(void)if (new_min_free_kbytes > user_min_free_kbytes) min_free_kbytes =clamp (new_min_free_kbytes,128 ,262144 );else -pr_warn ("min_free_kbytes is not updated to %d because user defined value %d is preferred\n" , - new_min_free_kbytes, user_min_free_kbytes); +pr_warn_ratelimited ("min_free_kbytes is not updated to %d because user defined value %d is preferred\n" , + new_min_free_kbytes, user_min_free_kbytes); }
_
Patches currently in -mm which might be from [email protected] are
mm-kmemleak-add-config_debug_kmemleak_verbose-build-option.patch kho-add-size-parameter-to-kho_add_subtree.patch kho-rename-fdt-parameter-to-blob-in-kho_add-remove_subtree.patch kho-persist-blob-size-in-kho-fdt.patch kho-fix-kho_in_debugfs_init-to-handle-non-fdt-blobs.patch kho-kexec-metadata-track-previous-kernel-chain.patch kho-document-kexec-metadata-tracking-feature.patch