patch-2.1.38 linux/mm/mmap.c
Next file: linux/mm/slab.c
Previous file: linux/mm/memory.c
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
Wed May 14 15:01:21 1997
-  Orig file: 
v2.1.37/linux/mm/mmap.c
-  Orig date: 
Tue May 13 22:41:20 1997
diff -u --recursive --new-file v2.1.37/linux/mm/mmap.c linux/mm/mmap.c
@@ -659,14 +659,14 @@
 {
 	vm_area_cachep = kmem_cache_create("vm_area_struct",
 					   sizeof(struct vm_area_struct),
-					   sizeof(long)*8, SLAB_HWCACHE_ALIGN,
+					   0, SLAB_HWCACHE_ALIGN,
 					   NULL, NULL);
 	if(!vm_area_cachep)
 		panic("vma_init: Cannot alloc vm_area_struct cache.");
 
 	mm_cachep = kmem_cache_create("mm_struct",
 				      sizeof(struct mm_struct),
-				      sizeof(long) * 4, SLAB_HWCACHE_ALIGN,
+				      0, SLAB_HWCACHE_ALIGN,
 				      NULL, NULL);
 	if(!mm_cachep)
 		panic("vma_init: Cannot alloc mm_struct cache.");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov