Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys recover traditional MINCLSIZE (= MHLEN + MLEN + 1). ...
details: https://anonhg.NetBSD.org/src/rev/0d514cef0da7
branches: trunk
changeset: 495415:0d514cef0da7
user: itojun <itojun%NetBSD.org@localhost>
date: Thu Jul 27 17:18:19 2000 +0000
description:
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 1ae04db292aa -r 0d514cef0da7 sys/sys/mbuf.h
--- a/sys/sys/mbuf.h Thu Jul 27 16:34:31 2000 +0000
+++ b/sys/sys/mbuf.h Thu Jul 27 17:18:19 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbuf.h,v 1.49 2000/03/01 12:49:27 itojun Exp $ */
+/* $NetBSD: mbuf.h,v 1.50 2000/07/27 17:18:19 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