From 4eb958b1ede356b2d47cbd28dc3f2b1351fc5c6c Mon Sep 17 00:00:00 2001 From: miod Date: Tue, 12 Aug 2014 19:35:28 +0000 Subject: [PATCH] Lower VM_PHYSSEG_MAX from the mips64 default to a generous 4, and change allocation strategy to VM_PSTRAT_BIGFIRST. --- sys/arch/octeon/include/vmparam.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 + +#endif /* _MACHINE_VMPARAM_H_ */ -- 2.20.1