Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2014 16:56:22 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   [rfc] sendfile: refactor out common sendfile code into _do_sendfile()
Message-ID:  <CAJ-VmomU10Qg0h6Tf%2BguvuOHWRo7sb2J%2BEH7i1N0dE6JQLMeJA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

http://people.freebsd.org/~adrian/netflix/20140107-freebsd-sendfile-refactor-1.diff

This refactors out the common code from both the sendfile and compat32
sendfile calls into a shared function. That way I can extend the
sendfile behaviour and only have to update one location.

What do people think?



-a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomU10Qg0h6Tf%2BguvuOHWRo7sb2J%2BEH7i1N0dE6JQLMeJA>