The patch titled Subject: mm-hugetlb-use-a-folio-in-hugetlb_fault-fix has been added to the -mm mm-unstable branch. Its filename is mm-hugetlb-use-a-folio-in-hugetlb_fault-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-hugetlb-use-a-folio-in-hugetlb_fault-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-hugetlb-use-a-folio-in-hugetlb_fault-fix Date: Tue Jun 6 07:46:28 PM PDT 2023 update comment, per Sidhartha Cc: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> Cc: ZhangPeng <zhangpeng362@xxxxxxxxxx> Cc: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> Cc: Mike Kravetz <mike.kravetz@xxxxxxxxxx> Cc: Muchun Song <songmuchun@xxxxxxxxxxxxx> Cc: Nanyong Sun <sunnanyong@xxxxxxxxxx> Cc: Sidhartha Kumar <sidhartha.kumar@xxxxxxxxxx> Cc: Vishal Moola (Oracle) <vishal.moola@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/hugetlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/hugetlb.c~mm-hugetlb-use-a-folio-in-hugetlb_fault-fix +++ a/mm/hugetlb.c @@ -6179,7 +6179,7 @@ vm_fault_t hugetlb_fault(struct mm_struc /* * hugetlb_wp() requires page locks of pte_page(entry) and * pagecache_folio, so here we need take the former one - * when page != pagecache_folio or !pagecache_folio. + * when folio != pagecache_folio or !pagecache_folio. */ folio = page_folio(pte_page(entry)); if (folio != pagecache_folio) _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are zswap-do-not-shrink-if-cgroup-may-not-zswap-fix.patch zswap-do-not-shrink-if-cgroup-may-not-zswap-fix-fix.patch mm-compaction-optimize-compact_memory-to-comply-with-the-admin-guide-fix.patch mm-page_owner-add-page_owner_stacks-file-to-print-out-only-stacks-and-their-counte-fix.patch mm-page_owner-add-page_owner_stacks-file-to-print-out-only-stacks-and-their-counte-fix-fix.patch mmpage_owner-filter-out-stacks-by-a-threshold-counter-fix.patch selftests-mm-gup_longterm-new-functional-test-for-foll_longterm-fix.patch mm-mlock-rename-mlock_future_check-to-mlock_future_ok.patch mm-mm_initc-remove-reset_node_present_pages-fix.patch mm-hugetlb-use-a-folio-in-hugetlb_fault-fix.patch fork-optimize-memcg_charge_kernel_stack-a-bit-fix.patch squashfs-cache-partial-compressed-blocks-fix.patch squashfs-cache-partial-compressed-blocks-fix-3-fix.patch init-add-bdev-fs-printk-if-mount_block_root-failed-fix.patch kexec-add-helper-__crash_shrink_memory-fix.patch