The patch titled Subject: hugetlb: replace the obsolete hugetlb_instantiation_mutex in the comments has been added to the -mm tree. Its filename is hugetlb-replace-the-obsolete-hugetlb_instantiation_mutex-in-the-comments.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/hugetlb-replace-the-obsolete-hugetlb_instantiation_mutex-in-the-comments.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/hugetlb-replace-the-obsolete-hugetlb_instantiation_mutex-in-the-comments.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: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx> Subject: hugetlb: replace the obsolete hugetlb_instantiation_mutex in the comments After commit 8382d914ebf7 ("mm, hugetlb: improve page-fault scalability"), the hugetlb_instantiation_mutex lock had been replaced by hugetlb_fault_mutex_table to serializes faults on the same logical page. Thus update the obsolete hugetlb_instantiation_mutex related comments. Link: https://lkml.kernel.org/r/4b3febeae37455ff7b74aa0aad16cc6909cf0926.1634797639.git.baolin.wang@xxxxxxxxxxxxxxxxx Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxxxx> Cc: Mike Kravetz <mike.kravetz@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/hugetlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/hugetlb.c~hugetlb-replace-the-obsolete-hugetlb_instantiation_mutex-in-the-comments +++ a/mm/hugetlb.c @@ -5014,7 +5014,7 @@ static void unmap_ref_private(struct mm_ /* * Hugetlb_cow() should be called with page lock of the original hugepage held. - * Called with hugetlb_instantiation_mutex held and pte_page locked so we + * Called with hugetlb_fault_mutex_table held and pte_page locked so we * cannot race with other handlers or page migration. * Keep the pte_same checks anyway to make transition from the mutex easier. */ _ Patches currently in -mm which might be from baolin.wang@xxxxxxxxxxxxxxxxx are hugetlb-support-node-specified-when-using-cma-for-gigantic-hugepages.patch hugetlb_cgroup-remove-unused-hugetlb_cgroup_from_counter-macro.patch hugetlb-replace-the-obsolete-hugetlb_instantiation_mutex-in-the-comments.patch hugetlb-remove-redundant-validation-in-has_same_uncharge_info.patch hugetlb-remove-redundant-vm_bug_on-in-add_reservation_in_range.patch mm-migrate-simplify-the-file-backed-pages-validation-when-migrating-its-mapping.patch