]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/fork.c
Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/paulus/ppc64-2.6
[linux-2.6-omap-h63xx.git] / kernel / fork.c
index 876b31cd822d2669b5831b31707aabfdba676304..a28d11e10877d07ebdd1ccde6006493122873b28 100644 (file)
@@ -250,8 +250,9 @@ static inline int dup_mmap(struct mm_struct * mm, struct mm_struct * oldmm)
 
                /*
                 * Link in the new vma and copy the page table entries:
-                * link in first so that swapoff can see swap entries,
-                * and try_to_unmap_one's find_vma find the new vma.
+                * link in first so that swapoff can see swap entries.
+                * Note that, exceptionally, here the vma is inserted
+                * without holding mm->mmap_sem.
                 */
                spin_lock(&mm->page_table_lock);
                *pprev = tmp;