nommu: fix a number of issues with the per-MM VMA patch
[linux-block.git] / kernel / fork.c
index 47c15840a3813ee3fcabe5f89d04bf73c08b66c2..51d1aa21483bce70402ca5449f209df3a18bfda7 100644 (file)
@@ -1488,6 +1488,7 @@ void __init proc_caches_init(void)
        mm_cachep = kmem_cache_create("mm_struct",
                        sizeof(struct mm_struct), ARCH_MIN_MMSTRUCT_ALIGN,
                        SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
+       vm_area_cachep = KMEM_CACHE(vm_area_struct, SLAB_PANIC);
        mmap_init();
 }