Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/sys pullup 1.49 -> 1.50 (approved by releng-1-5)



details:   https://anonhg.NetBSD.org/src/rev/fb61abd8d4ef
branches:  netbsd-1-5
changeset: 489311:fb61abd8d4ef
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Aug 30 06:23:08 2000 +0000

description:
pullup 1.49 -> 1.50 (approved by releng-1-5)

this reverts change made in 1.44 -> 1.45.

>revision 1.50
>date: 2000/07/27 17:18:19;  author: itojun;  state: Exp;  lines: +2 -2
>recover traditional MINCLSIZE (= MHLEN + MLEN + 1).  it will make
>drivers less aggressive about use of cluster mbufs.
>
>this chnage affects drivers with m_devget()-emulation.  many of
>recent drivers do not look at MINCLSIZE any more, not sure why.

diffstat:

 sys/sys/mbuf.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6f60dcd5859a -r fb61abd8d4ef sys/sys/mbuf.h
--- a/sys/sys/mbuf.h    Wed Aug 30 03:59:18 2000 +0000
+++ b/sys/sys/mbuf.h    Wed Aug 30 06:23:08 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mbuf.h,v 1.49.4.1 2000/08/13 17:29:41 itojun Exp $     */
+/*     $NetBSD: mbuf.h,v 1.49.4.2 2000/08/30 06:23:08 itojun Exp $     */
 
 /*-
  * Copyright (c) 1996, 1997, 1999 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
  * non-external mbufs in the driver.  This has no impact on performance
  * seen from the packet statistics, and avoid header pullups in network code.
  */
-#define        MINCLSIZE       (MHLEN + 1)     /* smallest amount to put in cluster */
+#define        MINCLSIZE       (MHLEN+MLEN+1)  /* smallest amount to put in cluster */
 #define        M_MAXCOMPRESS   (MHLEN / 2)     /* max amount to copy for compression */
 
 /*



Home | Main Index | Thread Index | Old Index