mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Eliminate unneeded preallocation at initialization.
Reviewed by: tegge
This commit is contained in:
parent
570cc5c1b0
commit
51016cdfd7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153068
@ -166,7 +166,6 @@ vm_map_startup(void)
|
||||
uma_prealloc(kmapentzone, MAX_KMAPENT);
|
||||
mapentzone = uma_zcreate("MAP ENTRY", sizeof(struct vm_map_entry),
|
||||
NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, 0);
|
||||
uma_prealloc(mapentzone, MAX_MAPENT);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -296,7 +296,6 @@ long vmspace_wired_count(struct vmspace *vmspace);
|
||||
/* XXX: number of kernel maps and entries to statically allocate */
|
||||
#define MAX_KMAP 10
|
||||
#define MAX_KMAPENT 128
|
||||
#define MAX_MAPENT 128
|
||||
|
||||
/*
|
||||
* Copy-on-write flags for vm_map operations
|
||||
|
Loading…
Reference in New Issue
Block a user