Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 00:21:06 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Mike Silbersack <silby@silby.com>
Cc:        net@freebsd.org, current@freebsd.org
Subject:   Re: zero copy code checkin in 2 days, new snapshot
Message-ID:  <20020624002106.A44519@panzer.kdm.org>
In-Reply-To: <20020624011221.L50974-100000@patrocles.silby.com>; from silby@silby.com on Mon, Jun 24, 2002 at 01:17:03AM -0500
References:  <20020623233627.A44237@panzer.kdm.org> <20020624011221.L50974-100000@patrocles.silby.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 24, 2002 at 01:17:03 -0500, Mike Silbersack wrote:
> On Sun, 23 Jun 2002, Kenneth D. Merry wrote:
> 
> > I'm planning on checking in the zero copy sockets code Tuesday evening,
> > MDT.  If there are any concerns, I'm more than willing to delay it.
> 
> Out of curiousity, what happens when the page being write()n is a mmap'd
> page shared by multiple processes?  Will the page be shared?  That could
> be a big reduction in mbuf cluster usage on some http/ftp systems, I'd
> guess.

The page would be shared, until one of the processes decides to write to it
while it is still referenced in the kernel.  If that happens, it'll get
copied.

Ken
-- 
Kenneth Merry
ken@kdm.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020624002106.A44519>