fork.c (cd02938a828f4b2098a074afb7454f106f2e8df5) | fork.c (33e5d76979cf01e3834814fe0aea569d1d602c1a) |
---|---|
1/* 2 * linux/kernel/fork.c 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 */ 6 7/* 8 * 'fork.c' contains the help-routines for the 'fork' system call --- 1474 unchanged lines hidden (view full) --- 1483 sizeof(struct files_struct), 0, 1484 SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL); 1485 fs_cachep = kmem_cache_create("fs_cache", 1486 sizeof(struct fs_struct), 0, 1487 SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL); 1488 mm_cachep = kmem_cache_create("mm_struct", 1489 sizeof(struct mm_struct), ARCH_MIN_MMSTRUCT_ALIGN, 1490 SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL); | 1/* 2 * linux/kernel/fork.c 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 */ 6 7/* 8 * 'fork.c' contains the help-routines for the 'fork' system call --- 1474 unchanged lines hidden (view full) --- 1483 sizeof(struct files_struct), 0, 1484 SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL); 1485 fs_cachep = kmem_cache_create("fs_cache", 1486 sizeof(struct fs_struct), 0, 1487 SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL); 1488 mm_cachep = kmem_cache_create("mm_struct", 1489 sizeof(struct mm_struct), ARCH_MIN_MMSTRUCT_ALIGN, 1490 SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL); |
1491 vm_area_cachep = KMEM_CACHE(vm_area_struct, SLAB_PANIC); |
|
1491 mmap_init(); 1492} 1493 1494/* 1495 * Check constraints on flags passed to the unshare system call and 1496 * force unsharing of additional process context as appropriate. 1497 */ 1498static void check_unshare_flags(unsigned long *flags_ptr) --- 238 unchanged lines hidden --- | 1492 mmap_init(); 1493} 1494 1495/* 1496 * Check constraints on flags passed to the unshare system call and 1497 * force unsharing of additional process context as appropriate. 1498 */ 1499static void check_unshare_flags(unsigned long *flags_ptr) --- 238 unchanged lines hidden --- |