From owner-cvs-all Wed Dec 1 14:41:38 1999 Delivered-To: cvs-all@freebsd.org Received: from caspian.plutotech.com (caspian.plutotech.com [206.168.67.80]) by hub.freebsd.org (Postfix) with ESMTP id E76CB15057; Wed, 1 Dec 1999 14:41:28 -0800 (PST) (envelope-from gibbs@caspian.plutotech.com) Received: from caspian.plutotech.com (localhost [127.0.0.1]) by caspian.plutotech.com (8.9.3/8.9.1) with ESMTP id OAA00992; Wed, 1 Dec 1999 14:41:51 -0700 (MST) (envelope-from gibbs@caspian.plutotech.com) Message-Id: <199912012141.OAA00992@caspian.plutotech.com> X-Mailer: exmh version 2.1.0 09/18/1999 To: Archie Cobbs Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern uipc_mbuf.c src/sys/sys mbuf.h In-reply-to: Your message of "Wed, 01 Dec 1999 14:31:32 PST." <199912012231.OAA35086@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 01 Dec 1999 14:41:51 -0700 From: "Justin T. Gibbs" Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >archie 1999/12/01 14:31:32 PST > > Modified files: > sys/kern uipc_mbuf.c > sys/sys mbuf.h > Log: > The functions m_copym() and m_copypacket() return read-only copies, > because in the case of mbuf clusters they only increment the reference > count rather than actually copying the data. > > Add comments to this effect, and add a new routine called m_dup() that > returns a real, writable copy of an mbuf chain. How does this work in a 0 copy system? -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message