Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/include Remove PAGER_MAP_SIZE definition -- ...



details:   https://anonhg.NetBSD.org/src/rev/dd5bdfaadd79
branches:  trunk
changeset: 507155:dd5bdfaadd79
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Thu Mar 15 16:06:59 2001 +0000

description:
Remove PAGER_MAP_SIZE definition -- use default value.  Instead, decrease
VM_MAX_KERNEL_BUF.

diffstat:

 sys/arch/macppc/include/vmparam.h |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (25 lines):

diff -r 93acfc5d34fd -r dd5bdfaadd79 sys/arch/macppc/include/vmparam.h
--- a/sys/arch/macppc/include/vmparam.h Thu Mar 15 13:45:00 2001 +0000
+++ b/sys/arch/macppc/include/vmparam.h Thu Mar 15 16:06:59 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.13 2000/12/08 21:51:35 mycroft Exp $     */
+/*     $NetBSD: vmparam.h,v 1.14 2001/03/15 16:06:59 tsubai Exp $      */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -91,14 +91,9 @@
 
 /* XXX max. amount of KVM to be used by buffers. */
 #ifndef VM_MAX_KERNEL_BUF
-#define VM_MAX_KERNEL_BUF      (SEGMENT_LENGTH * 7 / 10)
+#define VM_MAX_KERNEL_BUF      (SEGMENT_LENGTH / 2)
 #endif
 
-/*
- * Override the default pager_map size, there's not enough KVA.
- */
-#define PAGER_MAP_SIZE         (4 * 1024 * 1024)
-
 #define        VM_PHYS_SIZE            (USRIOSIZE * NBPG)
 
 struct pmap_physseg {



Home | Main Index | Thread Index | Old Index