cvs commit: src/sys/i386/include sf_buf.h src/sys/i386/i386 vm_machdep.c

Mike Silbersack silby at silby.com
Mon Nov 17 12:03:06 PST 2003


On Mon, 17 Nov 2003, Alan Cox wrote:

> alc         2003/11/17 10:22:24 PST
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/i386/include     sf_buf.h
>     sys/i386/i386        vm_machdep.c
>   Log:
>    - Change the i386's sf_buf implementation so that it never allocates
>      more than one sf_buf for one vm_page.  To accomplish this, we add
>      a global hash table mapping vm_pages to sf_bufs and a reference
>      count to each sf_buf.  (This is similar to the patches for RELENG_4
>      at http://www.cs.princeton.edu/~yruan/debox/.)

Cool!

I should have the other two parts of the DeBox patch finished up within a
week, so it sounds like 5.2 will really have turbocharged sendfile
support. :)

Mike "Silby" Silbersack


More information about the cvs-src mailing list