pool_init(&uvm_map_entry_kmem_pool, sizeof(struct vm_map_entry), 0, 0, 0, "vmmpekpl", 0, NULL, NULL, M_VMMAP);
uvm_map_init(){	static struct vm_map_entry kernel_map_entry[MAX_KMAPENT];#if defined(UVMHIST)	static struct uvm_history_ent maphistbuf[100];	static struct uvm_history_ent pdhistbuf[100];#endif	int lcv;	/*	 * first, init logging system.	 */	UVMHIST_FUNC("uvm_map_init");	UVMHIST_INIT_STATIC(maphist, maphistbuf);	UVMHIST_INIT_STATIC(pdhist, pdhistbuf);	UVMHIST_CALLED(maphist);	UVMHIST_LOG(maphist,"<starting uvm map system>", 0, 0, 0, 0);	UVMCNT_INIT(uvm_map_call,  UVMCNT_CNT, 0,	    "# uvm_map() successful calls", 0);	UVMCNT_INIT(map_backmerge, UVMCNT_CNT, 0, "# uvm_map() back merges", 0);	UVMCNT_INIT(map_forwmerge, UVMCNT_CNT, 0, "# uvm_map() missed forward",	    0);	UVMCNT_INIT(uvm_mlk_call,  UVMCNT_CNT, 0, "# map lookup calls", 0);	UVMCNT_INIT(uvm_mlk_hint,  UVMCNT_CNT, 0, "# map lookup hint hits", 0);	/*	 * now set up static pool of kernel map entrys ...	 */	simple_lock_init(&uvm.kentry_lock);	uvm.kentry_free = NULL;	for (lcv = 0 ; lcv < MAX_KMAPENT ; lcv++) {		kernel_map_entry[lcv].next = uvm.kentry_free;		uvm.kentry_free = &kernel_map_entry[lcv];	}	/*	 * initialize the map-related pools.	 */	pool_init(&uvm_vmspace_pool, sizeof(struct vmspace),	    0, 0, 0, "vmsppl", 0,	    pool_page_alloc_nointr, pool_page_free_nointr, M_VMMAP);	pool_init(&uvm_map_entry_pool, sizeof(struct vm_map_entry),	    0, 0, 0, "vmmpepl", 0,	    pool_page_alloc_nointr, pool_page_free_nointr, M_VMMAP);	pool_init(&uvm_map_entry_kmem_pool, sizeof(struct vm_map_entry),	    0, 0, 0, "vmmpekpl", 0, NULL, NULL, M_VMMAP);}