The patch titled Subject: mm/compaction: correct comment of candidate pfn in fast_isolate_freepages has been added to the -mm mm-unstable branch. Its filename is mm-compaction-correct-comment-of-candidate-pfn-in-fast_isolate_freepages.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-compaction-correct-comment-of-candidate-pfn-in-fast_isolate_freepages.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: Kemeng Shi <shikemeng@xxxxxxxxxx> Subject: mm/compaction: correct comment of candidate pfn in fast_isolate_freepages Date: Fri, 21 Jul 2023 23:09:56 +0800 Patch series "Two minor cleanups for compaction", v2. This series contains two random cleanups for compaction. This patch (of 2): If no preferred one was not found, we will use candidate page with maximum pfn > min_pfn which is saved in high_pfn. Correct "minimum" to "maximum candidate" in comment. Link: https://lkml.kernel.org/r/20230721150957.2058634-1-shikemeng@xxxxxxxxxx Link: https://lkml.kernel.org/r/20230721150957.2058634-2-shikemeng@xxxxxxxxxx Signed-off-by: Kemeng Shi <shikemeng@xxxxxxxxxx> Cc: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx> Cc: David Hildenbrand <david@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/compaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/compaction.c~mm-compaction-correct-comment-of-candidate-pfn-in-fast_isolate_freepages +++ a/mm/compaction.c @@ -1549,7 +1549,7 @@ static void fast_isolate_freepages(struc break; } - /* Use a minimum pfn if a preferred one was not found */ + /* Use a maximum candidate pfn if a preferred one was not found */ if (!page && high_pfn) { page = pfn_to_page(high_pfn); _ Patches currently in -mm which might be from shikemeng@xxxxxxxxxx are mm-compaction-correct-comment-of-candidate-pfn-in-fast_isolate_freepages.patch mm-compaction-avoid-unneeded-pageblock_end_pfn-when-no_set_skip_hint-is-set.patch