]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/mempolicy.h
mm: kill vma flag VM_RESERVED and mm->reserved_vm counter
[karo-tx-linux.git] / include / linux / mempolicy.h
index 95b738c7abff9ac1e45a5e78e1daf1437b2283fd..ba7a0ff19d39997f84f483343bfecc5a15886db2 100644 (file)
@@ -239,7 +239,7 @@ extern int mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol,
 /* Check if a vma is migratable */
 static inline int vma_migratable(struct vm_area_struct *vma)
 {
-       if (vma->vm_flags & (VM_IO|VM_HUGETLB|VM_PFNMAP|VM_RESERVED))
+       if (vma->vm_flags & (VM_IO | VM_HUGETLB | VM_PFNMAP))
                return 0;
        /*
         * Migration allocates pages in the highest zone. If we cannot