1/* 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * The Mach Operating System project at Carnegie-Mellon University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 47 unchanged lines hidden (view full) --- 56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 57 * School of Computer Science 58 * Carnegie Mellon University 59 * Pittsburgh PA 15213-3890 60 * 61 * any improvements or extensions that they make and grant Carnegie the 62 * rights to redistribute these changes. 63 * |
64 * $FreeBSD: head/sys/vm/vm_map.c 95758 2002-04-29 23:45:41Z jeff $ |
65 */ 66 67/* 68 * Virtual memory mapping module. 69 */ 70 71#include <sys/param.h> 72#include <sys/systm.h> --- 81 unchanged lines hidden (view full) --- 154#ifdef INVARIANTS 155 vm_map_zdtor, 156#else 157 NULL, 158#endif 159 vm_map_zinit, vm_map_zfini, UMA_ALIGN_PTR, UMA_ZONE_NOFREE); 160 uma_prealloc(mapzone, MAX_KMAP); 161 kmapentzone = uma_zcreate("KMAP ENTRY", sizeof(struct vm_map_entry), |
162 NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_MTXCLASS); |
163 uma_prealloc(kmapentzone, MAX_KMAPENT); 164 mapentzone = uma_zcreate("MAP ENTRY", sizeof(struct vm_map_entry), 165 NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, 0); 166 uma_prealloc(mapentzone, MAX_MAPENT); 167} 168 169static void 170vmspace_zfini(void *mem, int size) --- 3175 unchanged lines hidden --- |