Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 03/27/1997 20:40:01
thorpej
Thu Mar 27 12:33:08 PST 1997
Update of /cvsroot/src/sys/sys
In directory netbsd1:/var/slash-tmp/cvs-serv20083/sys

Modified Files:
	mbuf.h 
Log Message:
Update and enhancement to the mbuf code, to support use of non-cluster
external storage.  Highlights:

	- additional "void *" argument to (*ext_free)(), an opaque
	  cookie for use by the free function.
	- MCLALLOC() and MCLFREE() calls are gone.  They are replaced
	  by MEXTADD() (add external storage to mbuf), MEXTMALLOC()
	  (malloc() external storage and attach to mbuf), and
	  MEXTREMOVE() (remove external storage from mbuf).
	- completely new external storage reference counting
	  mechanism; mclrefcnt[] is gone.

These changes will eventually be used to pass driver DMA buffers up
the network stack, and reduce/eliminate copies in certain code paths
(e.g. NFS writes).

>From Matt Thomas <matt@3am-software.com> and myself <thorpej@nas.nasa.gov>,
with some input from Chris Demetriou <cgd@cs.cmu.edu> and review by
Charles Hannum <mycroft@mit.edu>.


thorpej
Thu Mar 27 12:33:09 PST 1997
Update of /cvsroot/src/sys/kern
In directory netbsd1:/var/slash-tmp/cvs-serv20083/kern

Modified Files:
	uipc_mbuf.c 
Log Message:
Update and enhancement to the mbuf code, to support use of non-cluster
external storage.  Highlights:

	- additional "void *" argument to (*ext_free)(), an opaque
	  cookie for use by the free function.
	- MCLALLOC() and MCLFREE() calls are gone.  They are replaced
	  by MEXTADD() (add external storage to mbuf), MEXTMALLOC()
	  (malloc() external storage and attach to mbuf), and
	  MEXTREMOVE() (remove external storage from mbuf).
	- completely new external storage reference counting
	  mechanism; mclrefcnt[] is gone.

These changes will eventually be used to pass driver DMA buffers up
the network stack, and reduce/eliminate copies in certain code paths
(e.g. NFS writes).

>From Matt Thomas <matt@3am-software.com> and myself <thorpej@nas.nasa.gov>,
with some input from Chris Demetriou <cgd@cs.cmu.edu> and review by
Charles Hannum <mycroft@mit.edu>.


thorpej
Thu Mar 27 12:36:22 PST 1997
Update of /cvsroot/src/sys/net
In directory netbsd1:/var/slash-tmp/cvs-serv20292

Modified Files:
	if_sl.c if_slvar.h if_strip.c if_stripvar.h 
Log Message:
Update for the new mbuf code, in a slighly kludgy way.  Basically, these
drivers played a somewhat evil trick with clusters, which is now
replaced by a somewhat evil trick with regular malloc'd memory.


thorpej
Thu Mar 27 12:38:21 PST 1997
Update of /cvsroot/src/sys/net
In directory netbsd1:/var/slash-tmp/cvs-serv20911

Modified Files:
	rtsock.c 
Log Message:
m_copyback() is now in uipc_mbuf.c