Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2016 12:37:14 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Gleb Smirnoff <glebius@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r293439 - in head: lib/libc/sys sys/dev/ti sys/kern sys/sys usr.bin/netstat
Message-ID:  <56901DFA.7090409@FreeBSD.org>
In-Reply-To: <201601082034.u08KYvLv075281@repo.freebsd.org>
References:  <201601082034.u08KYvLv075281@repo.freebsd.org>

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

[-- Attachment #1 --]
On 1/8/2016 12:34 PM, Gleb Smirnoff wrote:
> Author: glebius
> Date: Fri Jan  8 20:34:57 2016
> New Revision: 293439
> URL: https://svnweb.freebsd.org/changeset/base/293439
> 
> Log:
>   New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and
>   up to now.
>   
>   The new sendfile is the code that Netflix uses to send their multiple tens
>   of gigabits of data per second. The new implementation features asynchronous
>   I/O, when I/O operations are launched, but not awaited to be complete. An
>   explanation of why such behavior is beneficial compared to old one is
>   going to be too long for a commit message, so we will skip it here.
>   
>   Additional features of new syscall are extra flags, which provide an
>   application more control over data sent. The SF_NOCACHE flag tells
>   kernel that data shouldn't be cached after it was sent. The SF_READAHEAD()
>   macro allows to specify readahead size in pages.
>   
>   The new syscalls is a drop in replacement. No modifications are required
>   to applications. One can take nginx binary for stable/10 and run it
>   successfully on head. Although SF_NODISKIO lost its original sense, as now
>   sendfile doesn't block, and now means something completely different (tm),
>   using the new sendfile the old way is absolutely safe.
>   
>   Celebrates:	Netflix global launch!
>   Sponsored by:	Nginx, Inc.
>   Sponsored by:	Netflix
>   Relnotes:	yes
> 
> Modified:
>   head/lib/libc/sys/sendfile.2
>   head/sys/dev/ti/if_ti.c
>   head/sys/kern/uipc_mbuf.c
>   head/sys/kern/uipc_syscalls.c
>   head/sys/sys/mbuf.h
>   head/sys/sys/sf_buf.h
>   head/sys/sys/socket.h
>   head/usr.bin/netstat/mbuf.c

Why not merge the branch with full history?

-- 
Regards,
Bryan Drewery


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJWkB36AAoJEDXXcbtuRpfPZTYH/13iig98PbKvbGae42o6UGAg
czAxIuKAVg1KHPufJgCZPQzfAVF8kYOkHAS9kSCXHmSfLAr1OvgnjfpkHesVhQNu
30z9yoSSbUfw8wF3PKXTT2CwoRQ2aQ0ypGFBtFef5jnPZ3mrSacJjjrgN/v2FImE
ty7yLUJjxHcBX5D5jKia7Tkev80HMXkLMscv5pbp4JqAAlQOlpZOG7Nx2Ej6BSEi
jEZOhvF3puNPX6DZt8j9GUfVriWZ47VCJoZZsiF/kus2qA4PpOVSdUdrH9Ym9Vh/
QAeEAwhcMfGRYDjCCRjBp2Y9OAEF6HbyAE3SoPFVvR9Xn3rAAA/pNJBXlrVdMm0=
=2uLs
-----END PGP SIGNATURE-----

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