summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-08-12 19:35:29 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-08-12 19:35:29 +0000
commitb0224574ae5bcd3cc54dab9c0cf8f8c2fcc44480 (patch)
treeb28ca419e8427e5940d9f54152acd991b1beed29
parentb0bbeb235663abc34c0ab1efb3e7266c93761902 (diff)
Lower VM_PHYSSEG_MAX from the mips64 default to a generous 4, and change
allocation strategy to VM_PSTRAT_BIGFIRST.
-rw-r--r--sys/arch/octeon/include/vmparam.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/octeon/include/vmparam.h b/sys/arch/octeon/include/vmparam.h
index dc7687591fb..99ab5872f55 100644
--- a/sys/arch/octeon/include/vmparam.h
+++ b/sys/arch/octeon/include/vmparam.h
@@ -1,3 +1,11 @@
-/* $OpenBSD: vmparam.h,v 1.1 2010/09/20 06:32:30 syuu Exp $ */
+/* $OpenBSD: vmparam.h,v 1.2 2014/08/12 19:35:28 miod Exp $ */
/* public domain */
+#ifndef _MACHINE_VMPARAM_H_
+#define _MACHINE_VMPARAM_H_
+
+#define VM_PHYSSEG_MAX 4 /* Max number of physical memory segments */
+#define VM_PHYSSEG_STRAT VM_PSTRAT_BIGFIRST
+
#include <mips64/vmparam.h>
+
+#endif /* _MACHINE_VMPARAM_H_ */