The patch titled Subject: mm-compaction-optimize-compact_memory-to-comply-with-the-admin-guide-fix has been added to the -mm mm-unstable branch. Its filename is mm-compaction-optimize-compact_memory-to-comply-with-the-admin-guide-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-compaction-optimize-compact_memory-to-comply-with-the-admin-guide-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-compaction-optimize-compact_memory-to-comply-with-the-admin-guide-fix Date: Tue May 2 01:47:48 PM PDT 2023 add __read_mostly, per Mel Cc: Fu Wei <wefu@xxxxxxxxxx> Cc: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx> Cc: Oscar Salvador <osalvador@xxxxxxx> Cc: Pintu Kumar <pintu@xxxxxxxxxxxxxx> Cc: Wen Yang <wenyang.linux@xxxxxxxxxxx> Cc: William Lam <william.lam@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/compaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/compaction.c~mm-compaction-optimize-compact_memory-to-comply-with-the-admin-guide-fix +++ a/mm/compaction.c @@ -1736,7 +1736,7 @@ static int sysctl_compact_unevictable_al */ static unsigned int __read_mostly sysctl_compaction_proactiveness = 20; static int sysctl_extfrag_threshold = 500; -static int sysctl_compact_memory; +static int __read_mostly sysctl_compact_memory; static inline void update_fast_start_pfn(struct compact_control *cc, unsigned long pfn) _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-compaction-optimize-compact_memory-to-comply-with-the-admin-guide-fix.patch mm-gup-disallow-foll_longterm-gup-fast-writing-to-file-backed-mappings-fix.patch