The patch titled Subject: mm-contig_alloc-support-__gfp_comp-fix has been added to the -mm mm-unstable branch. Its filename is mm-contig_alloc-support-__gfp_comp-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-contig_alloc-support-__gfp_comp-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-contig_alloc-support-__gfp_comp-fix Date: Thu Aug 22 11:32:43 AM PDT 2024 fix folio_alloc_gigantic_noprof() WARN expression, per Yu Liao Cc: Frank van der Linden <fvdl@xxxxxxxxxx> Cc: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> Cc: Muchun Song <muchun.song@xxxxxxxxx> Cc: Yu Zhao <yuzhao@xxxxxxxxxx> Cc: Zi Yan <ziy@xxxxxxxxxx> Cc: Yu Liao <liaoyu15@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/gfp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/gfp.h~mm-contig_alloc-support-__gfp_comp-fix +++ a/include/linux/gfp.h @@ -452,7 +452,7 @@ static inline struct folio *folio_alloc_ { struct page *page; - if (WARN_ON(!order || !(gfp | __GFP_COMP))) + if (WARN_ON(!order || !(gfp & __GFP_COMP))) return NULL; page = alloc_contig_pages_noprof(1 << order, gfp, nid, node); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are include-linux-mmzoneh-clean-up-watermark-accessors.patch mm-remove-legacy-install_special_mapping-code-checkpatch-fixes.patch mm-contig_alloc-support-__gfp_comp-fix.patch mm-memory_hotplug-remove-head-variable-in-do_migrate_range-fix.patch mm-memory-failure-add-unmap_posioned_folio-fix.patch mm-memory_hotplug-check-hwpoisoned-page-firstly-in-do_migrate_range-fix.patch selftests-mm-add-more-mseal-traversal-tests-fix.patch mm-remove-pageactive-fix.patch fault-inject-improve-build-for-config_fault_injection=n-fix.patch fault-inject-improve-build-for-config_fault_injection=n-fix-2.patch fault-inject-improve-build-for-config_fault_injection=n-fix-3.patch