Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/vm_init.c
Show First 20 Lines • Show All 247 Lines • ▼ Show 20 Lines | #endif | ||||
* activators, so we leave a fixed number of pages for their use. | * activators, so we leave a fixed number of pages for their use. | ||||
*/ | */ | ||||
#ifdef __LP64__ | #ifdef __LP64__ | ||||
exec_map_entries = 8 * mp_ncpus; | exec_map_entries = 8 * mp_ncpus; | ||||
#else | #else | ||||
exec_map_entries = 2 * mp_ncpus + 4; | exec_map_entries = 2 * mp_ncpus + 4; | ||||
#endif | #endif | ||||
exec_map_entry_size = round_page(PATH_MAX + ARG_MAX); | exec_map_entry_size = round_page(PATH_MAX + ARG_MAX); | ||||
exec_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, | kmem_subinit(exec_map, kernel_map, &minaddr, &maxaddr, | ||||
exec_map_entries * exec_map_entry_size + 64 * PAGE_SIZE, FALSE); | exec_map_entries * exec_map_entry_size + 64 * PAGE_SIZE, false); | ||||
pipe_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, maxpipekva, | kmem_subinit(pipe_map, kernel_map, &minaddr, &maxaddr, maxpipekva, | ||||
FALSE); | false); | ||||
} | } |