mm: change anon_vma linking to fix multi-process server scalability issue
[linux-2.6-block.git] / arch / ia64 / kernel / perfmon.c
index b81e46b1629b2a0cfe12e40eac2426c33b33a4e1..703062c44fb9df33c7eefceefcf82b9598c71c59 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