summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-05-13 21:54:16 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-05-13 21:54:16 +0000
commitedaabc796be8e72ae49df6cc2ab655197a9c890a (patch)
tree1552d7c28394be92ff78210a1f87ac5d259ff981 /sys/arch
parent2f8536dbf9224f23e0b7f4876748a261b1696b40 (diff)
Memory is contiguous and non-expandable, so lower VM_PHYSSEG_MAX down to 1.
ok kettenis@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/socppc/include/vmparam.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/socppc/include/vmparam.h b/sys/arch/socppc/include/vmparam.h
index 0cdd4986416..b1959a28544 100644
--- a/sys/arch/socppc/include/vmparam.h
+++ b/sys/arch/socppc/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.1 2008/05/10 12:02:21 kettenis Exp $ */
+/* $OpenBSD: vmparam.h,v 1.2 2008/05/13 21:54:15 miod Exp $ */
/* $NetBSD: vmparam.h,v 1.1 1996/09/30 16:34:38 ws Exp $ */
/*-
@@ -89,9 +89,9 @@ extern vaddr_t ppc_kvm_stolen;
#define VM_PHYS_SIZE (USRIOSIZE * PAGE_SIZE)
-#define VM_PHYSSEG_MAX 32 /* actually we could have this many segments */
-#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH
-#define VM_PHYSSEG_NOADD /* can't add RAM after vm_mem_init */
+#define VM_PHYSSEG_MAX 1
+#define VM_PHYSSEG_NOADD
+#define VM_PHYSSEG_STRAT VM_PSTRAT_RANDOM
#define VM_NFREELIST 1
#define VM_FREELIST_DEFAULT 0