diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-01-13 23:13:27 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-01-13 23:15:04 +0100 |
commit | 2ed58a86ab2b0a2b1d7701ef1f0ccb117ca87dcf (patch) | |
tree | d9cfaf4d3ab0115af3bde0220d7b075b65bc5d70 /i386 | |
parent | 37f873e94db9966c4e852a868916db2682f37f78 (diff) | |
download | gnumach-2ed58a86ab2b0a2b1d7701ef1f0ccb117ca87dcf.tar.gz gnumach-2ed58a86ab2b0a2b1d7701ef1f0ccb117ca87dcf.tar.bz2 gnumach-2ed58a86ab2b0a2b1d7701ef1f0ccb117ca87dcf.zip |
Increase kernel map size
To avoid running out of memory due to the increased consumption by radix
trees which replaced arrays.
* kern/slab.c (KMEM_MAP_SIZE): Bump from 96MiB to 128MiB.
* i386/i386/vm_param.h (VM_KERNEL_MAP_SIZE): Add 32MiB accordingly.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/vm_param.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/vm_param.h b/i386/i386/vm_param.h index ffd91d65..6292ca25 100644 --- a/i386/i386/vm_param.h +++ b/i386/i386/vm_param.h @@ -56,9 +56,9 @@ /* Reserve mapping room for kmem. */ #ifdef MACH_XEN -#define VM_KERNEL_MAP_SIZE (224 * 1024 * 1024) +#define VM_KERNEL_MAP_SIZE (256 * 1024 * 1024) #else -#define VM_KERNEL_MAP_SIZE (192 * 1024 * 1024) +#define VM_KERNEL_MAP_SIZE (224 * 1024 * 1024) #endif /* The kernel virtual address space is actually located |