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:
parent
82cb212638
commit
4ef7d0cd62
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user