Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 17:08:15 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        "Alan L. Cox" <alc@imimic.com>
Cc:        cvs-all@FreeBSD.org
Subject:    Re: cvs commit: src/sys/kern subr_param.c sys_pipe.c src/sys/sys   pipe.h
Message-ID:  <20030708170743.R10043@odysseus.silby.com>
In-Reply-To: <3F0B199E.A3C980D2@imimic.com>
References:  <200307080457.h684vRM7009343@gw.catspoiler.org>    <20030708004340.T6733@odysseus.silby.com> <3F0B199E.A3C980D2@imimic.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



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