mm: change anon_vma linking to fix multi-process server scalability issue
[cascardo/linux.git] / arch / ia64 / kernel / perfmon.c
index b81e46b..703062c 100644 (file)
@@ -2315,6 +2315,7 @@ pfm_smpl_buffer_alloc(struct task_struct *task, struct file *filp, pfm_context_t
                DPRINT(("Cannot allocate vma\n"));
                goto error_kmem;
        }
+       INIT_LIST_HEAD(&vma->anon_vma_chain);
 
        /*
         * partially initialize the vma for the sampling buffer