cvs commit: src/sys/kern subr_param.c sys_pipe.c src/sys/sys pipe.h

Mike Silbersack silby at silby.com
Tue Jul 8 15:08:42 PDT 2003


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


More information about the cvs-src mailing list