]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - kernel/fork.c
mm/mmu_notifier: Rename struct mmu_notifier_mm to mmu_notifier_subscriptions
[mirror_ubuntu-jammy-kernel.git] / kernel / fork.c
index 2508a4f238a3f3b2e41dd78502a5a653f57c221b..047865086cdf74e987a1146727399bd471e56860 100644 (file)
@@ -692,7 +692,7 @@ void __mmdrop(struct mm_struct *mm)
        WARN_ON_ONCE(mm == current->active_mm);
        mm_free_pgd(mm);
        destroy_context(mm);
-       mmu_notifier_mm_destroy(mm);
+       mmu_notifier_subscriptions_destroy(mm);
        check_mm(mm);
        put_user_ns(mm->user_ns);
        free_mm(mm);
@@ -1025,7 +1025,7 @@ static struct mm_struct *mm_init(struct mm_struct *mm, struct task_struct *p,
        mm_init_aio(mm);
        mm_init_owner(mm, p);
        RCU_INIT_POINTER(mm->exe_file, NULL);
-       mmu_notifier_mm_init(mm);
+       mmu_notifier_subscriptions_init(mm);
        init_tlb_flush_pending(mm);
 #if defined(CONFIG_TRANSPARENT_HUGEPAGE) && !USE_SPLIT_PMD_PTLOCKS
        mm->pmd_huge_pte = NULL;