summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-04-22 11:10:32 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-04-22 11:10:32 +0200
commit07dc2f7b615f1b6af4acbbc034615856557ef7cd (patch)
tree3fcacbd367ef4256bed161daa12847618eef8e10
parent67d4e8403fe12592f99cf6fc51e4f33684899d6b (diff)
Update constants to nowadays standards
Follow-up to fa6c711d * vm/vm_object.c (DEVICE_IO_MAP_SIZE): Increase to 16MiB. * kern/kalloc.c (kalloc_map_size): Increase to 64MiB. * i386/intel/pmap.c (morevm): Increase to 128MiB.
-rw-r--r--device/ds_routines.c2
-rw-r--r--i386/intel/pmap.c2
-rw-r--r--kern/kalloc.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/device/ds_routines.c b/device/ds_routines.c
index d0f0879..93569f2 100644
--- a/device/ds_routines.c
+++ b/device/ds_routines.c
@@ -1537,7 +1537,7 @@ void io_done_thread()
/*NOTREACHED*/
}
-#define DEVICE_IO_MAP_SIZE (2 * 1024 * 1024)
+#define DEVICE_IO_MAP_SIZE (16 * 1024 * 1024)
static void mach_device_trap_init(void); /* forward */
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index 3505f52..0b8ae90 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -156,7 +156,7 @@ vm_offset_t kernel_virtual_start;
vm_offset_t kernel_virtual_end;
/* XXX stupid fixed limit - get rid */
-vm_size_t morevm = 40 * 1024 * 1024; /* VM space for kernel map */
+vm_size_t morevm = 128 * 1024 * 1024; /* VM space for kernel map */
/*
* Index into pv_head table, its lock bits, and the modify/reference
diff --git a/kern/kalloc.c b/kern/kalloc.c
index 4460d59..8256305 100644
--- a/kern/kalloc.c
+++ b/kern/kalloc.c
@@ -48,7 +48,7 @@
vm_map_t kalloc_map;
-vm_size_t kalloc_map_size = 8 * 1024 * 1024;
+vm_size_t kalloc_map_size = 64 * 1024 * 1024;
vm_size_t kalloc_max;
/*