]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/msync.c
[XFS] Tight loop in xfs_finish_reclaim_all prevented the xfslogd to run
[linux-2.6-omap-h63xx.git] / mm / msync.c
index 0e040e9c39d835a7cf938468be6a9b7bccb95c2d..b3f4caf3010b3ae998e456ba99faeff335623e07 100644 (file)
@@ -97,9 +97,9 @@ static void msync_page_range(struct vm_area_struct *vma,
        /* For hugepages we can't go walking the page table normally,
         * but that's ok, hugetlbfs is memory based, so we don't need
         * to do anything more on an msync().
-        * Can't do anything with VM_RESERVED regions either.
+        * Can't do anything with VM_UNPAGED regions either.
         */
-       if (vma->vm_flags & (VM_HUGETLB|VM_RESERVED))
+       if (vma->vm_flags & (VM_HUGETLB|VM_UNPAGED))
                return;
 
        BUG_ON(addr >= end);