Source-Changes-HG archive

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

[src/trunk]: src/sys/arch VM_MBUF_SIZE is in terms of MCLBYTES, not CLBYTES.



details:   https://anonhg.NetBSD.org/src/rev/2206642ac971
branches:  trunk
changeset: 467315:2206642ac971
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Mar 23 00:31:59 1999 +0000

description:
VM_MBUF_SIZE is in terms of MCLBYTES, not CLBYTES.

diffstat:

 sys/arch/bebox/include/vmparam.h   |  4 ++--
 sys/arch/macppc/include/vmparam.h  |  4 ++--
 sys/arch/ofppc/include/vmparam.h   |  4 ++--
 sys/arch/powerpc/include/vmparam.h |  4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r d0794fbdf358 -r 2206642ac971 sys/arch/bebox/include/vmparam.h
--- a/sys/arch/bebox/include/vmparam.h  Tue Mar 23 00:27:09 1999 +0000
+++ b/sys/arch/bebox/include/vmparam.h  Tue Mar 23 00:31:59 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.6 1999/01/16 20:13:17 chuck Exp $        */
+/*     $NetBSD: vmparam.h,v 1.7 1999/03/23 00:31:59 thorpej Exp $      */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -90,7 +90,7 @@
 #define        VM_MAX_KERNEL_ADDRESS   (VM_MIN_KERNEL_ADDRESS + SEGMENT_LENGTH - 1)
 
 #define        VM_KMEM_SIZE            (NKMEMCLUSTERS * CLBYTES)
-#define        VM_MBUF_SIZE            (NMBCLUSTERS * CLBYTES)
+#define        VM_MBUF_SIZE            (NMBCLUSTERS * MCLBYTES)
 #define        VM_PHYS_SIZE            (USRIOSIZE * CLBYTES)
 
 struct pmap_physseg {
diff -r d0794fbdf358 -r 2206642ac971 sys/arch/macppc/include/vmparam.h
--- a/sys/arch/macppc/include/vmparam.h Tue Mar 23 00:27:09 1999 +0000
+++ b/sys/arch/macppc/include/vmparam.h Tue Mar 23 00:31:59 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.6 1999/02/27 18:32:31 tsubai Exp $       */
+/*     $NetBSD: vmparam.h,v 1.7 1999/03/23 00:32:00 thorpej Exp $      */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -90,7 +90,7 @@
 #define        VM_MAX_KERNEL_ADDRESS   (VM_MIN_KERNEL_ADDRESS + SEGMENT_LENGTH - 1)
 
 #define        VM_KMEM_SIZE            (NKMEMCLUSTERS * CLBYTES)
-#define        VM_MBUF_SIZE            (NMBCLUSTERS * CLBYTES)
+#define        VM_MBUF_SIZE            (NMBCLUSTERS * MCLBYTES)
 #define        VM_PHYS_SIZE            (USRIOSIZE * CLBYTES)
 
 struct pmap_physseg {
diff -r d0794fbdf358 -r 2206642ac971 sys/arch/ofppc/include/vmparam.h
--- a/sys/arch/ofppc/include/vmparam.h  Tue Mar 23 00:27:09 1999 +0000
+++ b/sys/arch/ofppc/include/vmparam.h  Tue Mar 23 00:31:59 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.7 1999/01/16 20:34:02 chuck Exp $        */
+/*     $NetBSD: vmparam.h,v 1.8 1999/03/23 00:32:00 thorpej Exp $      */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -90,7 +90,7 @@
 #define        VM_MAX_KERNEL_ADDRESS   (VM_MIN_KERNEL_ADDRESS + SEGMENT_LENGTH - 1)
 
 #define        VM_KMEM_SIZE            (NKMEMCLUSTERS * CLBYTES)
-#define        VM_MBUF_SIZE            (NMBCLUSTERS * CLBYTES)
+#define        VM_MBUF_SIZE            (NMBCLUSTERS * MCLBYTES)
 #define        VM_PHYS_SIZE            (USRIOSIZE * CLBYTES)
 
 struct pmap_physseg {
diff -r d0794fbdf358 -r 2206642ac971 sys/arch/powerpc/include/vmparam.h
--- a/sys/arch/powerpc/include/vmparam.h        Tue Mar 23 00:27:09 1999 +0000
+++ b/sys/arch/powerpc/include/vmparam.h        Tue Mar 23 00:31:59 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.8 1999/01/16 20:41:23 chuck Exp $        */
+/*     $NetBSD: vmparam.h,v 1.9 1999/03/23 00:32:00 thorpej Exp $      */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -91,7 +91,7 @@
        ((vaddr_t)(KERNEL_SR << ADDR_SR_SHFT + SEGMENT_LENGTH - 1))
 
 #define        VM_KMEM_SIZE            (NKMEMCLUSTERS * CLBYTES)
-#define        VM_MBUF_SIZE            (NMBCLUSTERS * CLBYTES)
+#define        VM_MBUF_SIZE            (NMBCLUSTERS * MCLBYTES)
 #define        VM_PHYS_SIZE            (USRIOSIZE * CLBYTES)
 
 struct pmap_physseg {



Home | Main Index | Thread Index | Old Index