summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2013-02-26 08:17:34 +0000
committeralc <alc@FreeBSD.org>2013-02-26 08:17:34 +0000
commit1292edf08d47c715c2f18a75f5665443961e7ce6 (patch)
tree3dac1a92d0d3751d49e65bbd0422aff2c6ef3859 /sys/arm
parent9f434bef5011de5d51dd7804259c3aaad09ddbda (diff)
downloadFreeBSD-src-1292edf08d47c715c2f18a75f5665443961e7ce6.zip
FreeBSD-src-1292edf08d47c715c2f18a75f5665443961e7ce6.tar.gz
Be more conservative in auto-sizing and capping the kmem submap. In
fact, use the same values here that we use on 32-bit x86 and MIPS. Some machines were reported to have problems with the more aggressive values. Reported and tested by: andrew
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/include/vmparam.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arm/include/vmparam.h b/sys/arm/include/vmparam.h
index 94caeef..09bf62c 100644
--- a/sys/arm/include/vmparam.h
+++ b/sys/arm/include/vmparam.h
@@ -142,15 +142,15 @@
#define VM_KMEM_SIZE (12*1024*1024)
#endif
#ifndef VM_KMEM_SIZE_SCALE
-#define VM_KMEM_SIZE_SCALE (2)
+#define VM_KMEM_SIZE_SCALE (3)
#endif
/*
- * Ceiling on the size of the kmem submap: 60% of the kernel map.
+ * Ceiling on the size of the kmem submap: 40% of the kernel map.
*/
#ifndef VM_KMEM_SIZE_MAX
#define VM_KMEM_SIZE_MAX ((vm_max_kernel_address - \
- VM_MIN_KERNEL_ADDRESS + 1) * 3 / 5)
+ VM_MIN_KERNEL_ADDRESS + 1) * 2 / 5)
#endif
#define MAXTSIZ (16*1024*1024)
OpenPOWER on IntegriCloud