The patch titled Subject: mm-page_alloc-avoid-false-page-outside-zone-error-info-fix has been added to the -mm mm-unstable branch. Its filename is mm-page_alloc-avoid-false-page-outside-zone-error-info-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-page_alloc-avoid-false-page-outside-zone-error-info-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-page_alloc-avoid-false-page-outside-zone-error-info-fix Date: Tue Jul 4 09:35:46 AM PDT 2023 code simplification, per Matthew Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx> Cc: Miaohe Lin <linmiaohe@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) --- a/mm/page_alloc.c~mm-page_alloc-avoid-false-page-outside-zone-error-info-fix +++ a/mm/page_alloc.c @@ -468,10 +468,7 @@ static int page_outside_zone_boundaries( seq = zone_span_seqbegin(zone); start_pfn = zone->zone_start_pfn; sp = zone->spanned_pages; - if (!zone_spans_pfn(zone, pfn)) - ret = 1; - else - ret = 0; + ret = !zone_spans_pfn(zone, pfn); } while (zone_span_seqretry(zone, seq)); if (ret) _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-shmem-fix-race-in-shmem_undo_range-w-thp-fix.patch swap-stop-add-to-avail-list-is-swap-is-full-checkpatch-fixes.patch fs-buffer-clean-up-block_commit_write-fix.patch mm-page_alloc-avoid-false-page-outside-zone-error-info-fix.patch