Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 21:04:04 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Igor Sysoev <is@rambler-co.ru>
Cc:        arch@FreeBSD.ORG
Subject:   Re: Should sendfile() to return EAGAIN?  [patch]
Message-ID:  <15983.59156.942545.147957@grasshopper.cs.duke.edu>
In-Reply-To: <Pine.BSF.4.21.0303111242490.87446-100000@is>
References:  <3E6CED5E.260E568E@imimic.com> <Pine.BSF.4.21.0303111242490.87446-100000@is>

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

Igor Sysoev writes:
 > On Mon, 10 Mar 2003, Alan L. Cox wrote:
 > 
 > >Andrew Gallatin outlined an implementation earlier in this thread.  I've
 > >e-mailed you a patch that does the critical parts of what he outlined.
 > 
 > If this implementation increases vm_page size I think it should be enabled
 > via option in the kernel configuration. A typical FreeBSD machine never uses
 > sendfile() or uses little and never exhausts sf_buf's so this increase
 > would waste the kernel memory.
 > 

This could be done w/o increasing the page size. (ie, move the cow
field of the vm_page to the sf_buf; see earlier message for details).
Also, this change will be very helpful as it will allow sf_bufs to be
used as general purpose containers for temporary kvm mappings..

Drew



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




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