Messages in this thread Patch in this message | | | Date | Mon, 19 Jul 2010 16:32:22 -0500 | From | steiner@sgi ... | Subject | [Patch 04/25] GRU - mmap gru contexts using nonlinear |
| |
From: Jack Steiner <steiner@sgi.com>
Add VM_NONLINEAR to the vm_flags used to map the GRU.
Signed-off-by: Jack Steiner <steiner@sgi.com>
--- drivers/misc/sgi-gru/grufile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/drivers/misc/sgi-gru/grufile.c =================================================================== --- linux.orig/drivers/misc/sgi-gru/grufile.c 2010-06-09 08:11:39.751457793 -0500 +++ linux/drivers/misc/sgi-gru/grufile.c 2010-06-09 08:11:40.740099769 -0500 @@ -110,7 +110,7 @@ static int gru_file_mmap(struct file *fi vma->vm_flags |= (VM_IO | VM_DONTCOPY | VM_LOCKED | VM_DONTEXPAND | VM_PFNMAP | - VM_RESERVED); + VM_RESERVED | VM_NONLINEAR); vma->vm_page_prot = PAGE_SHARED; vma->vm_ops = &gru_vm_ops;
| |