The patch titled Subject: mm-hugetlb-move-swap-entry-handling-into-vma-lock-when-faulted-fix has been added to the -mm mm-unstable branch. Its filename is mm-hugetlb-move-swap-entry-handling-into-vma-lock-when-faulted-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-move-swap-entry-handling-into-vma-lock-when-faulted-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-move-swap-entry-handling-into-vma-lock-when-faulted-fix Date: Mon Dec 5 02:30:31 PM PST 2022 update comment, per Mike Cc: Mike Kravetz <mike.kravetz@xxxxxxxxxx> Cc: Peter Xu <peterx@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/hugetlb.c | 4 ---- 1 file changed, 4 deletions(-) --- a/mm/hugetlb.c~mm-hugetlb-move-swap-entry-handling-into-vma-lock-when-faulted-fix +++ a/mm/hugetlb.c @@ -5840,10 +5840,6 @@ vm_fault_t hugetlb_fault(struct mm_struc * Acquire vma lock before calling huge_pte_alloc and hold * until finished with ptep. This prevents huge_pmd_unshare from * being called elsewhere and making the ptep no longer valid. - * - * ptep could have already be assigned via huge_pte_offset. That - * is OK, as huge_pte_alloc will return the same value unless - * something has changed. */ hugetlb_vma_lock_read(vma); ptep = huge_pte_alloc(mm, vma, haddr, huge_page_size(h)); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are revert-mm-align-larger-anonymous-mappings-on-thp-boundaries.patch kselftests-cgroup-update-kmem-test-precision-tolerance-fix.patch mm-gup-remove-foll_migration-fix.patch mm-hugetlb-move-swap-entry-handling-into-vma-lock-when-faulted-fix.patch fsdax-zero-the-edges-if-source-is-hole-or-unwritten-fix.patch mm-disable-top-tier-fallback-to-reclaim-on-proactive-reclaim-fix.patch