From owner-svn-src-all@freebsd.org Wed Jun 14 14:28:10 2017 Return-Path: Delivered-To: svn-src-all@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 678E9D8F29B; Wed, 14 Jun 2017 14:28:10 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3535F65B2B; Wed, 14 Jun 2017 14:28:10 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 67A12C8A8; Wed, 14 Jun 2017 14:28:09 +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 82BCD29C0; Wed, 14 Jun 2017 14:28:08 +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 ri8ITJqtKevL; Wed, 14 Jun 2017 14:27:51 +0000 (UTC) Subject: Re: svn commit: r319897 - head/usr.bin/yes DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 6B98829BA To: Justin Hibbits Cc: src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" References: <201706131235.v5DCZ1aR077437@repo.freebsd.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <59cc8b64-0cba-70c7-68c8-53f48a3c1471@FreeBSD.org> Date: Wed, 14 Jun 2017 07:27:52 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Lr1kaO71U8FEll1dBBDDE7v5ErpO7t56J" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 14:28:10 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Lr1kaO71U8FEll1dBBDDE7v5ErpO7t56J Content-Type: multipart/mixed; boundary="wt26g00pDV7KoD3u92lA9UBBl1sHC7JMl"; protected-headers="v1" From: Bryan Drewery To: Justin Hibbits Cc: src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Message-ID: <59cc8b64-0cba-70c7-68c8-53f48a3c1471@FreeBSD.org> Subject: Re: svn commit: r319897 - head/usr.bin/yes References: <201706131235.v5DCZ1aR077437@repo.freebsd.org> In-Reply-To: --wt26g00pDV7KoD3u92lA9UBBl1sHC7JMl Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/14/2017 7:26 AM, Justin Hibbits wrote: > On Wed, Jun 14, 2017 at 9:19 AM, Bryan Drewery w= rote: >> On 6/13/2017 5:35 AM, Pietro Cerutti wrote: >>> Author: gahr (ports committer) >>> Date: Tue Jun 13 12:35:01 2017 >>> New Revision: 319897 >>> URL: https://svnweb.freebsd.org/changeset/base/319897 >>> >>> Log: >>> Improve yes' throughput >>> >>> On my system, this brings up the throughput from ~20 to ~600 MiB/s.= >>> >>> Inspired by: https://www.reddit.com/r/unix/comments/6gxduc/how_is_g= nu_yes_so_fast/ >>> >>> Reviewed by: cognet >>> Approved by: cognet >>> >>> Modified: >>> head/usr.bin/yes/yes.c >> >> >> While here we should add libxo support. >> >> -- >> Regards, >> Bryan Drewery >> >=20 > I think before we add libxo, we need to capsicumize it. After all, it > does accept arbitrary arguments. The code has become more complex. I think capsicum does make sense now in case there is an unseen overflow in the new optimized code. --=20 Regards, Bryan Drewery --wt26g00pDV7KoD3u92lA9UBBl1sHC7JMl-- --Lr1kaO71U8FEll1dBBDDE7v5ErpO7t56J 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 iQEcBAEBAgAGBQJZQUfoAAoJEDXXcbtuRpfPnqQH/1/Cuff0Cj5R5wlcGBrvNY9R xoRA760pgWKprCkWNatbgbfMz7ovuHOUDDSQ/38Ubxzm09qg9L/pA1PLFYR3rdC/ y5wipMIXIhY7w6Tv2x5hRvYbWxinOTqfQ7J+R3U3D0goUPxTT4xLpohtRb41o40U ouWKA8YY83qrmDT+T59kA1T1HGPuVkp3ODsZnlK7NqSzXq5MSEM4VpeuAZHQ3oCW 2ccpL55ZuSkaxwRQI1j6VKmzjkugLy7IXFOoKfKtvP9pneZ8A5etHLlwVRzhGvND kz65XUDf+3pHcV97HAkhybfZx+D579BPMKE6AMaWKgOEufHESLun3r92F0nD5mY= =Ivhq -----END PGP SIGNATURE----- --Lr1kaO71U8FEll1dBBDDE7v5ErpO7t56J--