From owner-svn-src-all@freebsd.org Thu May 17 19:20:15 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D68B5EDDF14 for ; Thu, 17 May 2018 19:20:14 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from sonic306-3.consmr.mail.bf2.yahoo.com (sonic306-3.consmr.mail.bf2.yahoo.com [74.6.132.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7B11B72280 for ; Thu, 17 May 2018 19:20:14 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1526584813; bh=cDy4lFHaB630pMiRtKqqG19bvFddnU+CuTXJGT9tci0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=R8Blzc68DXQiviAXzK7opr0nT8IFXpCnYeAzimtAfcJqS0rHHnPKqAUC3/yQOAIgseOa47MUt5f7ZoG4k90J8X67kaA3GhSxo2g4oZYE5J0ktg/fJWI84trCMRrysWcZs96i67Xbr6RIQ9hQDOAWmFTusY5yLNh/PWBxxcwEANnGTPt4L1tPNRZ7Ef0mMUAFXkm+thxIw4q0LJj7cXpyTpQOb73mUz4SSwUinPGvFDz9tnACBnn9pBVu7GieKs+0m6Xq1saK1maLtq0ATyT2XF0CNEI2s38jjlfswKmuX49lI1PDdRxKw+Oie6h2m03ID3RquSmBzxX1svvd6yXTqg== X-YMail-OSG: c7.DUIkVM1mjGzWnb5bRjSYO_gxc9tvEWVRu.iUv2HhBC8OhEYs4KyKNTab3Fyi zxX0yHAnIrxBPMVBa0hRddXNoNUhzMVthSlcMtgAbSTgiCxUKUZM6d3xzXxIsYwqxcVDtRnh9nOb yCUYkqS92hPF_MtNEF2mxJ1X98z7.LCYhWdn.GZsUb3HYRU1J.Tu_XDuyfwyWCnM9OZ7UtmTpqXD PkDmO_xD4zjIRMPWJJwa3MCeQLkEQFyNFi_3Le366VZmAXPneVlzi8A9u0.tmibtsTMw3yQgTrkz m4PX6KjLPthmeg.L94E20Cf7dnIqDZpkxK6u8HJ0guvSXQqtD_m59d8Dp0GMKHADT6TPUv8nfTzj u8yJE9voLrGtDYDDv3v6aWTSHiHvtImY9YwPfvdu7gGqTDBovS2LnL1ypqgtLUqbtjroNAjT7E23 PUccxORDLZn7u1aNya.kWQOQRzDoHtNY6MlphQm0xjBh9cFgnRji2RLbwe40Q7L2Pq9rQrHHMJ0t 8xVWIhXa6xlhvZtm4lp.W7g6MJ8PgSb4nkmFA6cH0bOsyZgSLf3KyjiArt3jp_yFlXWm8d2qRL9k X2EG6zYn3rzeFGKIUMzLWTgmoTeHB8nszeRabuHj6I7nw3.NqoD7.beOsKOx104Pqss8- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.bf2.yahoo.com with HTTP; Thu, 17 May 2018 19:20:13 +0000 Received: from 181.52.72.201 (EHLO [192.168.0.6]) ([181.52.72.201]) by smtp418.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID e8e120e778f1abab8fa90e6115ebf9ff; Thu, 17 May 2018 19:20:08 +0000 (UTC) Subject: Re: svn commit: r333745 - in head/sys/contrib/ck: include src To: Matthew Macy , Emmanuel Vadot Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201805171814.w4HIEA0F079835@repo.freebsd.org> <20180517203856.aa6b8b241e23b9c07483232b@bidouilliste.com> From: Pedro Giffuni Organization: FreeBSD Project Message-ID: <17058056-6b70-e918-dab8-63951d1bfbbd@FreeBSD.org> Date: Thu, 17 May 2018 14:20:05 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.26 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: Thu, 17 May 2018 19:20:15 -0000 On 17/05/2018 14:12, Matthew Macy wrote: > How do I avoid problems while allowing timely updates? > > -M > > On Thu, May 17, 2018 at 11:38 AM, Emmanuel Vadot wrote: >> Hi Matt, >> >> On Thu, 17 May 2018 18:14:10 +0000 (UTC) >> Matt Macy wrote: >> >>> Author: mmacy >>> Date: Thu May 17 18:14:10 2018 >>> New Revision: 333745 >>> URL: https://svnweb.freebsd.org/changeset/base/333745 >>> >>> Log: >>> ck: add support for executing callbacks outside of main poll loop >>> >>> Pull in change from upstream deca119d14bfffd440770eb67cbdbeaf7b57eb7b >>> >>> | ck_epoch: introduce ck_epoch_deferred >>> | >>> | Allow for deferral to occur outside epoch poll critical loop (which may access per-CPU structures). >>> | >>> >>> Approved by: sbruno >>> >>> Modified: >>> head/sys/contrib/ck/include/ck_epoch.h >>> head/sys/contrib/ck/src/ck_epoch.c >>> >> CK was imported in vendor-sys/ck, commiting directly into head will >> cause some problems in the future. Actually ... committing to head is fine: some things just have to be fixed. We do ask you try to upstream the change and re-merge things when possible. Pedro.