From owner-svn-src-head@freebsd.org Fri Jan 8 20:37:13 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 942D2A6776C; Fri, 8 Jan 2016 20:37:13 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 788C81B1D; Fri, 8 Jan 2016 20:37:13 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 71B7C1920; Fri, 8 Jan 2016 20:37:13 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 27C7018572; Fri, 8 Jan 2016 20:37:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id KhwinlUByIch; Fri, 8 Jan 2016 20:37:10 +0000 (UTC) Subject: Re: svn commit: r293439 - in head: lib/libc/sys sys/dev/ti sys/kern sys/sys usr.bin/netstat DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 70A9E1856C To: Gleb Smirnoff , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201601082034.u08KYvLv075281@repo.freebsd.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <56901DFA.7090409@FreeBSD.org> Date: Fri, 8 Jan 2016 12:37:14 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <201601082034.u08KYvLv075281@repo.freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L7B8DSh9ui7GAwvAGd28ElKoSHx5DV9o5" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 20:37:13 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --L7B8DSh9ui7GAwvAGd28ElKoSHx5DV9o5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 >=20 > Log: > New sendfile(2) syscall. A joint effort of NGINX and Netflix from 201= 3 and > up to now. > =20 > The new sendfile is the code that Netflix uses to send their multiple= tens > of gigabits of data per second. The new implementation features async= hronous > I/O, when I/O operations are launched, but not awaited to be complete= =2E 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. > =20 > 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_READAH= EAD() > macro allows to specify readahead size in pages. > =20 > The new syscalls is a drop in replacement. No modifications are requi= red > to applications. One can take nginx binary for stable/10 and run it > successfully on head. Although SF_NODISKIO lost its original sense, a= s now > sendfile doesn't block, and now means something completely different = (tm), > using the new sendfile the old way is absolutely safe. > =20 > Celebrates: Netflix global launch! > Sponsored by: Nginx, Inc. > Sponsored by: Netflix > Relnotes: yes >=20 > 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? --=20 Regards, Bryan Drewery --L7B8DSh9ui7GAwvAGd28ElKoSHx5DV9o5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWkB36AAoJEDXXcbtuRpfPZTYH/13iig98PbKvbGae42o6UGAg czAxIuKAVg1KHPufJgCZPQzfAVF8kYOkHAS9kSCXHmSfLAr1OvgnjfpkHesVhQNu 30z9yoSSbUfw8wF3PKXTT2CwoRQ2aQ0ypGFBtFef5jnPZ3mrSacJjjrgN/v2FImE ty7yLUJjxHcBX5D5jKia7Tkev80HMXkLMscv5pbp4JqAAlQOlpZOG7Nx2Ej6BSEi jEZOhvF3puNPX6DZt8j9GUfVriWZ47VCJoZZsiF/kus2qA4PpOVSdUdrH9Ym9Vh/ QAeEAwhcMfGRYDjCCRjBp2Y9OAEF6HbyAE3SoPFVvR9Xn3rAAA/pNJBXlrVdMm0= =2uLs -----END PGP SIGNATURE----- --L7B8DSh9ui7GAwvAGd28ElKoSHx5DV9o5--