Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2003 17:35:46 -0800
From:      Sean Chittenden <seanc@FreeBSD.org>
To:        Giorgos Keramidas <keramida@FreeBSD.org>
Cc:        freebsd-doc@FreeBSD.org
Subject:   Re: Updated sendfile(2)...
Message-ID:  <20030311013546.GB79234@perrin.int.nxad.com>
In-Reply-To: <20030311012059.GA7701@gothmog.gr>
References:  <20030310231907.GX79234@perrin.int.nxad.com> <20030310233805.GA7010@gothmog.gr> <20030311002406.GZ79234@perrin.int.nxad.com> <20030311012059.GA7701@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > http://people.freebsd.org/~seanc/patches/#sendfile_2_tuning
> > >
> > > Seems ok.  Just a few minor details that I noticed are shown below:
> >
> > Thanks for the style notes.  Updated patch attached.  -sc
> > http://people.freebsd.org/~seanc/patches/#sendfile_2_tuning
> 
> Looking at the source of uipc_syscalls.c I can quickly spot the part
> that implements exactly the sort of behavior you describe.  If
> nobody else has comments on the content of the patch (i.e. someone
> with more knowledge of the kernel internals), I say commit it :)

Quite familiar with the problem and the internals in this area.
Here's a patch for the problem:

http://people.freebsd.org/~seanc/patches/patch-HEAD-src::sys::kern::uipc_syscalls.c

And a description of the problem/fix:

http://people.freebsd.org/~seanc/patches/#sendfile_no_block

-sc

-- 
Sean Chittenden

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




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