summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-06-04 17:20:40 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-06-04 17:20:40 +0000
commitbba723b9745299edaf195f729e9513d715fe9e8d (patch)
treec8aefb4e8020f728990b17af9d2649ed4f8dda78 /sys/arch
parentf98c7272f4e84133a3cf95aff759804bb7b32cda (diff)
When VM_PHYSSEG_MAX is 1, use VM_PSTRAT_RANDOM for VM_PHYSSEG_STRAT, this
makes uvm_page.o smaller.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hp300/include/vmparam.h4
-rw-r--r--sys/arch/m88k/include/vmparam.h4
-rw-r--r--sys/arch/mvme68k/include/vmparam.h4
-rw-r--r--sys/arch/vax/include/vmparam.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/hp300/include/vmparam.h b/sys/arch/hp300/include/vmparam.h
index e1ac81f5c22..67d96869377 100644
--- a/sys/arch/hp300/include/vmparam.h
+++ b/sys/arch/hp300/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.15 2004/12/30 21:26:17 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.16 2006/06/04 17:20:38 miod Exp $ */
/* $NetBSD: vmparam.h,v 1.16 1998/08/20 08:33:48 kleink Exp $ */
/*
@@ -53,6 +53,6 @@
* The hp300 only has one physical memory segment.
*/
#define VM_PHYSSEG_MAX 1
-#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH
+#define VM_PHYSSEG_STRAT VM_PSTRAT_RANDOM
#endif /* _HP300_VMPARAM_H_ */
diff --git a/sys/arch/m88k/include/vmparam.h b/sys/arch/m88k/include/vmparam.h
index 41e474df714..4d733db46bc 100644
--- a/sys/arch/m88k/include/vmparam.h
+++ b/sys/arch/m88k/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.7 2006/05/20 22:34:00 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.8 2006/06/04 17:20:39 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1992 Carnegie Mellon University
@@ -88,7 +88,7 @@
* The mvme88k only has one physical memory segment.
*/
#define VM_PHYSSEG_MAX 1
-#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH
+#define VM_PHYSSEG_STRAT VM_PSTRAT_RANDOM
#define VM_PHYSSEG_NOADD
#define VM_NFREELIST 1
diff --git a/sys/arch/mvme68k/include/vmparam.h b/sys/arch/mvme68k/include/vmparam.h
index 8ae86521f47..8ece9d88b40 100644
--- a/sys/arch/mvme68k/include/vmparam.h
+++ b/sys/arch/mvme68k/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.15 2003/06/02 23:27:50 millert Exp $ */
+/* $OpenBSD: vmparam.h,v 1.16 2006/06/04 17:20:39 miod Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -59,6 +59,6 @@
* The mvme68k only has one physical memory segment.
*/
#define VM_PHYSSEG_MAX 1
-#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH
+#define VM_PHYSSEG_STRAT VM_PSTRAT_RANDOM
#endif /* _MVME68K_VMPARAM_H_ */
diff --git a/sys/arch/vax/include/vmparam.h b/sys/arch/vax/include/vmparam.h
index 5f18927bd6f..3e7c728ce3a 100644
--- a/sys/arch/vax/include/vmparam.h
+++ b/sys/arch/vax/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.26 2005/12/20 21:41:51 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.27 2006/06/04 17:20:39 miod Exp $ */
/* $NetBSD: vmparam.h,v 1.32 2000/03/07 00:05:59 matt Exp $ */
/*-
@@ -87,7 +87,7 @@
#define VM_PHYSSEG_MAX 1
#define VM_PHYSSEG_NOADD
-#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH /* XXX */
+#define VM_PHYSSEG_STRAT VM_PSTRAT_RANDOM
#define VM_NFREELIST 1
#define VM_FREELIST_DEFAULT 0