mm: retire GUP WARN_ON_ONCE that outlived its usefulness
[deliverable/linux.git] / mm / memory.c
index 93ce37989471174439d8973f19b12e776e218cc3..635451abc8f7c9b84663535678a26a9b0848c89d 100644 (file)
@@ -2237,11 +2237,6 @@ static int wp_page_shared(struct mm_struct *mm, struct vm_area_struct *vma,
 
        page_cache_get(old_page);
 
-       /*
-        * Only catch write-faults on shared writable pages,
-        * read-only shared pages can get COWed by
-        * get_user_pages(.write=1, .force=1).
-        */
        if (vma->vm_ops && vma->vm_ops->page_mkwrite) {
                int tmp;
 
This page took 0.023377 seconds and 5 git commands to generate.