Date: Sat, 6 Oct 2007 21:42:39 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys mbuf.h src/sys/kern kern_mbuf.c uipc_mbuf.c Message-ID: <200710062142.l96Lgdth041436@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kmacy 2007-10-06 21:42:39 UTC FreeBSD src repository Modified files: sys/sys mbuf.h sys/kern kern_mbuf.c uipc_mbuf.c Log: This patch adds an M_NOFREE flag which allows one to mark an mbuf as not being independently freeable. This allows one to embed an mbuf in the cluster itself. This confers the benefits of the packet zone on all cluster sizes. Embedded mbufs currently suffer from the same limitation that packet zone mbufs do in that one cannot disconnect them and pass them around independently of the cluster. It would likely be possible to eliminate this limitation in the future by adding a second reference for the mbuf itself. Approved by: re(gnn) Revision Changes Path 1.32 +1 -0 src/sys/kern/kern_mbuf.c 1.174 +11 -0 src/sys/kern/uipc_mbuf.c 1.217 +2 -1 src/sys/sys/mbuf.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710062142.l96Lgdth041436>