From owner-cvs-src@FreeBSD.ORG Tue Jul 8 15:08:41 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB98E37B405 for ; Tue, 8 Jul 2003 15:08:41 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 8383943FCB for ; Tue, 8 Jul 2003 15:08:39 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 66683 invoked from network); 8 Jul 2003 22:08:38 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 8 Jul 2003 22:08:38 -0000 X-pair-Authenticated: 209.68.2.70 Date: Tue, 8 Jul 2003 17:08:15 -0500 (CDT) From: Mike Silbersack To: "Alan L. Cox" In-Reply-To: <3F0B199E.A3C980D2@imimic.com> Message-ID: <20030708170743.R10043@odysseus.silby.com> References: <200307080457.h684vRM7009343@gw.catspoiler.org> <20030708004340.T6733@odysseus.silby.com> <3F0B199E.A3C980D2@imimic.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: Don Lewis cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern subr_param.c sys_pipe.c src/sys/sys pipe.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 22:08:42 -0000 On Tue, 8 Jul 2003, Alan L. Cox wrote: > When "pages are wired into kernel memory" there are two distinct actions > being performed: vm_page_wire() and pmap_qenter(). However, as far as I > know, there is no reason why the pmap_qenter() has to be performed by > the sender. I suspect the mapping could be delayed until just before > the copy and released immediately thereafter, thereby eliminating the > need for each pipe to have its own KVA for this purpose. In fact, I > believe the sf_buf allocator could be used to provide the temporary KVA. > > Regards, > Alan Cool! /me goes to take a look at sf_bufs. Mike "Silby" Silbersack