]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - mm/mmu_gather.c
mmap locking API: convert mmap_sem comments
[mirror_ubuntu-jammy-kernel.git] / mm / mmu_gather.c
index a3538cb2bcbee2798bc0d07190f08795994cf1a0..03c33c93a582b9044fe7afbf64e5f3978de158ae 100644 (file)
@@ -301,7 +301,7 @@ void tlb_finish_mmu(struct mmu_gather *tlb,
 {
        /*
         * If there are parallel threads are doing PTE changes on same range
-        * under non-exclusive lock (e.g., mmap_sem read-side) but defer TLB
+        * under non-exclusive lock (e.g., mmap_lock read-side) but defer TLB
         * flush by batching, one thread may end up seeing inconsistent PTEs
         * and result in having stale TLB entries.  So flush TLB forcefully
         * if we detect parallel PTE batching threads.