diff options
author | Tor Egge <tegge@FreeBSD.org> | 1997-06-25 20:18:58 +0000 |
---|---|---|
committer | Tor Egge <tegge@FreeBSD.org> | 1997-06-25 20:18:58 +0000 |
commit | 7bcc0f3d6669b63a2b7945c8442aad5bd3cb470b (patch) | |
tree | b141f9c1137b5bd6cdaac4a1da0037721cb7ffa6 /sys/amd64/include/vmparam.h | |
parent | a4ec81c7d0ede785121b757a8b8abf67d6eae038 (diff) | |
download | src-7bcc0f3d6669b63a2b7945c8442aad5bd3cb470b.tar.gz src-7bcc0f3d6669b63a2b7945c8442aad5bd3cb470b.zip |
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.
Notes
Notes:
svn path=/head/; revision=26945
Diffstat (limited to 'sys/amd64/include/vmparam.h')
-rw-r--r-- | sys/amd64/include/vmparam.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/include/vmparam.h b/sys/amd64/include/vmparam.h index 129f5c5398f4..094903ed6805 100644 --- a/sys/amd64/include/vmparam.h +++ b/sys/amd64/include/vmparam.h @@ -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_ */ |