Increase the ceiling on the kmem map's size to 3.6GB. Also, define the

ceiling as a fraction of the kernel map's size rather than an absolute
quantity.  Thus, scaling of the kmem map's size will be automatic with
changes to the kernel map's size.
This commit is contained in:
alc 2008-07-03 04:53:14 +00:00
parent 82cb212638
commit 4ef7d0cd62

View File

@ -202,7 +202,8 @@
* Ceiling on amount of kmem_map kva space.
*/
#ifndef VM_KMEM_SIZE_MAX
#define VM_KMEM_SIZE_MAX (400 * 1024 * 1024)
#define VM_KMEM_SIZE_MAX ((VM_MAX_KERNEL_ADDRESS - \
VM_MIN_KERNEL_ADDRESS + 1) * 3 / 5)
#endif
/* initial pagein size of beginning of executable file */