]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/ia64/kernel/perfmon.c
mm: kill vma flag VM_RESERVED and mm->reserved_vm counter
[karo-tx-linux.git] / arch / ia64 / kernel / perfmon.c
index 3fa4bc536953c9494eabc776b1c77a980cb2e148..2eae90e0f272cc82c37b11dee7fe9ca7576f4dd7 100644 (file)
@@ -2307,7 +2307,7 @@ pfm_smpl_buffer_alloc(struct task_struct *task, struct file *filp, pfm_context_t
         */
        vma->vm_mm           = mm;
        vma->vm_file         = filp;
-       vma->vm_flags        = VM_READ| VM_MAYREAD |VM_RESERVED;
+       vma->vm_flags        = VM_READ | VM_MAYREAD | VM_DONTEXPAND | VM_DONTDUMP;
        vma->vm_page_prot    = PAGE_READONLY; /* XXX may need to change */
 
        /*