The patch titled Subject: mm: compaction: use helper isolation_suitable() has been added to the -mm tree. Its filename is mm-compaction-use-helper-isolation_suitable.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/mm-compaction-use-helper-isolation_suitable.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/mm-compaction-use-helper-isolation_suitable.patch 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 and is updated there every 3-4 working days ------------------------------------------------------ From: Miaohe Lin <linmiaohe@xxxxxxxxxx> Subject: mm: compaction: use helper isolation_suitable() Use helper isolation_suitable() to check whether page is suitable to isolate to simplify the code. Minor readability improvement. Link: https://lkml.kernel.org/r/20220322110750.60311-1-linmiaohe@xxxxxxxxxx Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/compaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/compaction.c~mm-compaction-use-helper-isolation_suitable +++ a/mm/compaction.c @@ -899,7 +899,7 @@ isolate_migratepages_block(struct compac * not falsely conclude that the block should be skipped. */ if (!valid_page && IS_ALIGNED(low_pfn, pageblock_nr_pages)) { - if (!cc->ignore_skip_hint && get_pageblock_skip(page)) { + if (!isolation_suitable(cc, page)) { low_pfn = end_pfn; page = NULL; goto isolate_abort; _ Patches currently in -mm which might be from linmiaohe@xxxxxxxxxx are mm-mremap-use-helper-mlock_future_check.patch mm-compaction-use-helper-isolation_suitable.patch