]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/xen/gntdev.c
xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
[linux-beck.git] / drivers / xen / gntdev.c
index bb952121ea944b507044508fde7b32f7ec20638d..2ef2b61b69dfe0c644905fa4991871a2d668df7f 100644 (file)
@@ -1007,7 +1007,7 @@ static int gntdev_mmap(struct file *flip, struct vm_area_struct *vma)
 
        vma->vm_ops = &gntdev_vmops;
 
-       vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP | VM_IO;
+       vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP | VM_MIXEDMAP;
 
        if (use_ptemod)
                vma->vm_flags |= VM_DONTCOPY;