diff options
author | tegge <tegge@FreeBSD.org> | 1997-06-25 20:18:58 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 1997-06-25 20:18:58 +0000 |
commit | 55447e1bb11282e2d408abdfe6af3c7a8f752522 (patch) | |
tree | 9f7c0f4aded0c95068f3ffa403a590dbb8f1bff5 /sys/amd64/include/vmparam.h | |
parent | d2644a7ea86dc8697b7b6c59cbaab080d3e0f0d5 (diff) | |
download | FreeBSD-src-55447e1bb11282e2d408abdfe6af3c7a8f752522.zip FreeBSD-src-55447e1bb11282e2d408abdfe6af3c7a8f752522.tar.gz |
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.
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 129f5c5..094903e 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_ */ |