Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch pullup from main trunc (approved by releng-1-5)



details:   https://anonhg.NetBSD.org/src/rev/7bd454b1d350
branches:  netbsd-1-5
changeset: 488672:7bd454b1d350
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sun Jul 23 03:49:27 2000 +0000

description:
pullup from main trunc (approved by releng-1-5)

raise MSIZE from 128 to 256.
- for sizeof(void *) == 8 arch, this is mandatory.  MHLEN is too small
  already (less than 80) and there are chances for unwanted packet loss due
  to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
  (even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
  extension header)

portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.

1.1     -> 1.2  syssrc/sys/arch/amigappc/include/param.h
1.13    -> 1.14 syssrc/sys/arch/arc/include/param.h
1.1     -> 1.2  syssrc/sys/arch/arm26/include/param.h
1.17    -> 1.18 syssrc/sys/arch/arm32/include/param.h
1.6     -> 1.7  syssrc/sys/arch/bebox/include/param.h
1.4     -> 1.5  syssrc/sys/arch/cobalt/include/param.h
1.4     -> 1.5  syssrc/sys/arch/evbsh3/include/param.h
1.2     -> 1.3  syssrc/sys/arch/hpcmips/include/param.h
1.40    -> 1.41 syssrc/sys/arch/i386/include/param.h
1.7     -> 1.8  syssrc/sys/arch/m68k/include/param.h
1.9     -> 1.10 syssrc/sys/arch/macppc/include/param.h
1.4     -> 1.5  syssrc/sys/arch/mmeye/include/param.h
1.6     -> 1.7  syssrc/sys/arch/newsmips/include/param.h
1.7     -> 1.8  syssrc/sys/arch/ofppc/include/param.h
1.23    -> 1.24 syssrc/sys/arch/pc532/include/param.h
1.32    -> 1.33 syssrc/sys/arch/pmax/include/param.h
1.7     -> 1.8  syssrc/sys/arch/powerpc/include/param.h
1.1     -> 1.2  syssrc/sys/arch/prep/include/param.h
1.1     -> 1.2  syssrc/sys/arch/sgimips/include/param.h
1.3     -> 1.4  syssrc/sys/arch/sh3/include/param.h
1.44    -> 1.45 syssrc/sys/arch/sparc/include/param.h
1.21    -> 1.22 syssrc/sys/arch/sparc64/include/param.h
1.43    -> 1.44 syssrc/sys/arch/vax/include/param.h

diffstat:

 sys/arch/amigappc/include/param.h |  4 ++--
 sys/arch/arc/include/param.h      |  4 ++--
 sys/arch/arm26/include/param.h    |  4 ++--
 sys/arch/arm32/include/param.h    |  4 ++--
 sys/arch/bebox/include/param.h    |  4 ++--
 sys/arch/cobalt/include/param.h   |  4 ++--
 sys/arch/evbsh3/include/param.h   |  4 ++--
 sys/arch/hpcmips/include/param.h  |  4 ++--
 sys/arch/i386/include/param.h     |  4 ++--
 sys/arch/m68k/include/param.h     |  4 ++--
 sys/arch/macppc/include/param.h   |  4 ++--
 sys/arch/mmeye/include/param.h    |  4 ++--
 sys/arch/newsmips/include/param.h |  4 ++--
 sys/arch/ofppc/include/param.h    |  4 ++--
 sys/arch/pc532/include/param.h    |  4 ++--
 sys/arch/pmax/include/param.h     |  4 ++--
 sys/arch/powerpc/include/param.h  |  4 ++--
 sys/arch/prep/include/param.h     |  4 ++--
 sys/arch/sgimips/include/param.h  |  4 ++--
 sys/arch/sh3/include/param.h      |  4 ++--
 sys/arch/sparc/include/param.h    |  4 ++--
 sys/arch/vax/include/param.h      |  4 ++--
 22 files changed, 44 insertions(+), 44 deletions(-)

diffs (truncated from 396 to 300 lines):

diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/amigappc/include/param.h
--- a/sys/arch/amigappc/include/param.h Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/amigappc/include/param.h Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.1 2000/05/25 22:12:00 is Exp $     */
+/*     $NetBSD: param.h,v 1.1.4.1 2000/07/23 03:49:27 itojun Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -87,7 +87,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 #define        MCLSHIFT        11              /* convert bytes to m_buf clusters */
 #define        MCLBYTES        (1 << MCLSHIFT) /* size of a m_buf cluster */
 
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/arc/include/param.h
--- a/sys/arch/arc/include/param.h      Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/arc/include/param.h      Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.13 2000/02/11 19:25:14 thorpej Exp $       */
+/*     $NetBSD: param.h,v 1.13.4.1 2000/07/23 03:49:28 itojun Exp $    */
 /*      $OpenBSD: param.h,v 1.9 1997/04/30 09:54:15 niklas Exp $ */
 
 /*
@@ -92,7 +92,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 #define        MCLSHIFT        11
 #define        MCLBYTES        (1 << MCLSHIFT) /* enough for whole Ethernet packet */
 #define        MCLOFSET        (MCLBYTES - 1)
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/arm26/include/param.h
--- a/sys/arch/arm26/include/param.h    Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/arm26/include/param.h    Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.1 2000/05/09 21:56:00 bjh21 Exp $  */
+/*     $NetBSD: param.h,v 1.1.4.1 2000/07/23 03:49:28 itojun Exp $     */
 
 /*
  * Copyright (c) 1994,1995 Mark Brinicombe.
@@ -91,7 +91,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 #define        MCLSHIFT        11              /* convert bytes to m_buf clusters */
 #define        MCLBYTES        (1 << MCLSHIFT) /* size of a m_buf cluster */
 #define        MCLOFSET        (MCLBYTES - 1)  /* offset within a m_buf cluster */
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/arm32/include/param.h
--- a/sys/arch/arm32/include/param.h    Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/arm32/include/param.h    Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.17 2000/02/11 19:25:14 thorpej Exp $       */
+/*     $NetBSD: param.h,v 1.17.4.1 2000/07/23 03:49:29 itojun Exp $    */
 
 /*
  * Copyright (c) 1994,1995 Mark Brinicombe.
@@ -91,7 +91,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 #define        MCLSHIFT        11              /* convert bytes to m_buf clusters */
 #define        MCLBYTES        (1 << MCLSHIFT) /* size of a m_buf cluster */
 #define        MCLOFSET        (MCLBYTES - 1)  /* offset within a m_buf cluster */
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/bebox/include/param.h
--- a/sys/arch/bebox/include/param.h    Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/bebox/include/param.h    Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.6 2000/02/11 19:25:15 thorpej Exp $        */
+/*     $NetBSD: param.h,v 1.6.4.1 2000/07/23 03:49:29 itojun Exp $     */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -75,7 +75,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 #define        MCLSHIFT        11              /* convert bytes to m_buf clusters */
 #define        MCLBYTES        (1 << MCLSHIFT) /* size of a m_buf cluster */
 
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/cobalt/include/param.h
--- a/sys/arch/cobalt/include/param.h   Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/cobalt/include/param.h   Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.4 2000/05/05 03:27:22 soren Exp $  */
+/*     $NetBSD: param.h,v 1.4.4.1 2000/07/23 03:49:29 itojun Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -54,7 +54,7 @@
 #define        CLSIZE          1
 #define        CLSIZELOG2      0
 
-#define        MSIZE           128             /* Size of an mbuf */
+#define        MSIZE           256             /* Size of an mbuf */
 
 #ifndef MCLSHIFT
 #define        MCLSHIFT        11              /* Convert bytes to m_buf clusters. */
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/evbsh3/include/param.h
--- a/sys/arch/evbsh3/include/param.h   Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/evbsh3/include/param.h   Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.4 2000/02/24 19:42:36 msaitoh Exp $        */
+/*     $NetBSD: param.h,v 1.4.4.1 2000/07/23 03:49:30 itojun Exp $     */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -127,7 +127,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 
 #ifndef MCLSHIFT
 # define       MCLSHIFT        11      /* convert bytes to m_buf clusters */
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/hpcmips/include/param.h
--- a/sys/arch/hpcmips/include/param.h  Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/hpcmips/include/param.h  Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.2 1999/12/04 21:20:28 ragge Exp $  */
+/*     $NetBSD: param.h,v 1.2.4.1 2000/07/23 03:49:30 itojun Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -76,7 +76,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 
 #ifndef MCLSHIFT
 
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/i386/include/param.h
--- a/sys/arch/i386/include/param.h     Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/i386/include/param.h     Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.40 2000/02/11 19:25:15 thorpej Exp $       */
+/*     $NetBSD: param.h,v 1.40.6.1 2000/07/23 03:49:30 itojun Exp $    */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -103,7 +103,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 
 #ifndef MCLSHIFT
 # define       MCLSHIFT        11      /* convert bytes to m_buf clusters */
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/m68k/include/param.h
--- a/sys/arch/m68k/include/param.h     Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/m68k/include/param.h     Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.7 1999/12/12 07:45:46 scottr Exp $ */
+/*     $NetBSD: param.h,v 1.7.4.1 2000/07/23 03:49:31 itojun Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -92,7 +92,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 
 #ifndef        MCLSHIFT
 # define       MCLSHIFT        11      /* convert bytes to m_buf clusters */
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/macppc/include/param.h
--- a/sys/arch/macppc/include/param.h   Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/macppc/include/param.h   Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.9 2000/02/13 17:01:47 tsubai Exp $ */
+/*     $NetBSD: param.h,v 1.9.4.1 2000/07/23 03:49:31 itojun Exp $     */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -73,7 +73,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 #define        MCLSHIFT        11              /* convert bytes to m_buf clusters */
 #define        MCLBYTES        (1 << MCLSHIFT) /* size of a m_buf cluster */
 
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/mmeye/include/param.h
--- a/sys/arch/mmeye/include/param.h    Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/mmeye/include/param.h    Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.4 2000/02/24 19:42:36 msaitoh Exp $        */
+/*     $NetBSD: param.h,v 1.4.4.1 2000/07/23 03:49:31 itojun Exp $     */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -118,7 +118,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 
 #ifndef MCLSHIFT
 # define       MCLSHIFT        11      /* convert bytes to m_buf clusters */
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/newsmips/include/param.h
--- a/sys/arch/newsmips/include/param.h Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/newsmips/include/param.h Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     from $NetBSD: param.h,v 1.6 1999/12/04 21:20:59 ragge Exp $     */
+/*     from $NetBSD: param.h,v 1.6.4.1 2000/07/23 03:49:32 itojun Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -74,7 +74,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 
 #ifndef MCLSHIFT
 
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/ofppc/include/param.h
--- a/sys/arch/ofppc/include/param.h    Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/ofppc/include/param.h    Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.7 2000/02/11 19:30:28 thorpej Exp $        */
+/*     $NetBSD: param.h,v 1.7.4.1 2000/07/23 03:49:32 itojun Exp $     */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -73,7 +73,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 #define        MCLSHIFT        11              /* convert bytes to m_buf clusters */
 #define        MCLBYTES        (1 << MCLSHIFT) /* size of a m_buf cluster */
 
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/pc532/include/param.h
--- a/sys/arch/pc532/include/param.h    Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/pc532/include/param.h    Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.23 2000/02/11 19:30:29 thorpej Exp $       */
+/*     $NetBSD: param.h,v 1.23.4.1 2000/07/23 03:49:32 itojun Exp $    */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -103,7 +103,7 @@
  * of the hardware page size.
  */
 #ifndef        MSIZE
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 #endif /* MSIZE */
 
 #ifndef        MCLSHIFT
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/pmax/include/param.h
--- a/sys/arch/pmax/include/param.h     Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/pmax/include/param.h     Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.32 2000/05/06 05:55:09 nisimura Exp $      */
+/*     $NetBSD: param.h,v 1.32.4.1 2000/07/23 03:49:33 itojun Exp $    */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -73,7 +73,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.
  */
-#define        MSIZE           128             /* size of an mbuf */
+#define        MSIZE           256             /* size of an mbuf */
 
 #ifndef MCLSHIFT
 # define MCLSHIFT      11              /* convert bytes to m_buf clusters */
diff -r a1f31b7486e4 -r 7bd454b1d350 sys/arch/powerpc/include/param.h
--- a/sys/arch/powerpc/include/param.h  Sat Jul 22 21:40:49 2000 +0000
+++ b/sys/arch/powerpc/include/param.h  Sun Jul 23 03:49:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.7 2000/02/11 19:30:29 thorpej Exp $        */
+/*     $NetBSD: param.h,v 1.7.4.1 2000/07/23 03:49:33 itojun Exp $     */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -73,7 +73,7 @@
  * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
  * of the hardware page size.



Home | Main Index | Thread Index | Old Index