]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - fs/proc/task_mmu.c
mmap locking API: convert mmap_sem comments
[thirdparty/linux.git] / fs / proc / task_mmu.c
index 81b985476c1da91754f33f9d0ccd211038afcc0f..dbda4499a859a5a57ff687795dec74445f0b9341 100644 (file)
@@ -593,7 +593,7 @@ static int smaps_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end,
        if (pmd_trans_unstable(pmd))
                goto out;
        /*
-        * The mmap_sem held all the way back in m_start() is what
+        * The mmap_lock held all the way back in m_start() is what
         * keeps khugepaged out of here and from collapsing things
         * in here.
         */
@@ -752,7 +752,7 @@ static void smap_gather_stats(struct vm_area_struct *vma,
                }
        }
 #endif
-       /* mmap_sem is held in m_start */
+       /* mmap_lock is held in m_start */
        walk_page_vma(vma, &smaps_walk_ops, mss);
 }
 
@@ -1827,7 +1827,7 @@ static int show_numa_map(struct seq_file *m, void *v)
        if (is_vm_hugetlb_page(vma))
                seq_puts(m, " huge");
 
-       /* mmap_sem is held by m_start */
+       /* mmap_lock is held by m_start */
        walk_page_vma(vma, &show_numa_ops, md);
 
        if (!md->pages)