diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-06-04 17:21:25 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-06-04 17:21:25 +0000 |
commit | 42e4130d0a6fcb41516f4c08ada976c9427f2112 (patch) | |
tree | 22819f76f8cc59e4d05dfd4323376a44bfdbb2c7 /sys/arch/zaurus | |
parent | bba723b9745299edaf195f729e9513d715fe9e8d (diff) |
Shrink VM_PHYSSEG_MAX to 1 on platforms where physical memory is contiguous
and there is only one call to uvm_page_physload().
Diffstat (limited to 'sys/arch/zaurus')
-rw-r--r-- | sys/arch/zaurus/include/vmparam.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/sys/arch/zaurus/include/vmparam.h b/sys/arch/zaurus/include/vmparam.h index e684f9d94e5..ef976fed4de 100644 --- a/sys/arch/zaurus/include/vmparam.h +++ b/sys/arch/zaurus/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.3 2006/05/22 15:47:57 deraadt Exp $ */ +/* $OpenBSD: vmparam.h,v 1.4 2006/06/04 17:21:24 miod Exp $ */ /* $NetBSD: vmparam.h,v 1.23 2003/05/22 05:47:07 thorpej Exp $ */ /* @@ -67,15 +67,8 @@ * max number of non-contig chunks of physical RAM you can have */ -#define VM_PHYSSEG_MAX 32 - -/* - * when converting a physical address to a vm_page structure, we - * want to use a binary search on the chunks of physical memory - * to find our RAM - */ - -#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH +#define VM_PHYSSEG_MAX 1 +#define VM_PHYSSEG_STRAT VM_PSTRAT_RANDOM /* * this indicates that we can't add RAM to the VM system after the |