Allow the kernel configuration file to override the amount of memory

available to the kernel (VM_KMEM_SIZE). The default (32 MB) is too low
when having 512 MB or more physical memory in a server environment. This is
relevant on systems where "panic: kmem_malloc: kmem_map too small" is a
problem.
This commit is contained in:
Tor Egge 1997-06-25 20:18:58 +00:00
parent a4ec81c7d0
commit 7bcc0f3d66
2 changed files with 6 additions and 2 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)vmparam.h 5.9 (Berkeley) 5/12/91
* $Id: vmparam.h,v 1.24 1997/02/22 09:35:23 peter Exp $
* $Id: vmparam.h,v 1.25 1997/04/07 09:30:22 peter Exp $
*/
@ -116,6 +116,8 @@
#define VM_MIN_ADDRESS ((vm_offset_t)0)
/* virtual sizes (bytes) for various kernel submaps */
#ifndef VM_KMEM_SIZE
#define VM_KMEM_SIZE (32 * 1024 * 1024)
#endif
#endif /* _MACHINE_VMPARAM_H_ */

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)vmparam.h 5.9 (Berkeley) 5/12/91
* $Id: vmparam.h,v 1.24 1997/02/22 09:35:23 peter Exp $
* $Id: vmparam.h,v 1.25 1997/04/07 09:30:22 peter Exp $
*/
@ -116,6 +116,8 @@
#define VM_MIN_ADDRESS ((vm_offset_t)0)
/* virtual sizes (bytes) for various kernel submaps */
#ifndef VM_KMEM_SIZE
#define VM_KMEM_SIZE (32 * 1024 * 1024)
#endif
#endif /* _MACHINE_VMPARAM_H_ */