From owner-svn-src-all@freebsd.org Thu May 17 19:12:28 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 09416EDDD8F; Thu, 17 May 2018 19:12:28 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A945072057; Thu, 17 May 2018 19:12:27 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from mail-io0-f182.google.com (mail-io0-f182.google.com [209.85.223.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) (Authenticated sender: mmacy) by smtp.freebsd.org (Postfix) with ESMTPSA id 74AAD14269; Thu, 17 May 2018 19:12:27 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: by mail-io0-f182.google.com with SMTP id z4-v6so3333367iof.5; Thu, 17 May 2018 12:12:27 -0700 (PDT) X-Gm-Message-State: ALKqPwfRapCOEcd0LqSqWCuabtTAjyvSQGonrjhhKSvJhSq9HC5iDgXa f0cSS0JhkgR6frGt2oZJ2mCBl3Z/QdRpfC1kvI8= X-Google-Smtp-Source: AB8JxZqaxVsMDcVzwSEWajETfQopQ+JIMLADPN5wR3e8ndPC1VQNkNhEZi9TV0COD9nyxsLOAPSb5CnmAny7qwHwsLg= X-Received: by 2002:a6b:c5a:: with SMTP id w87-v6mr7407306ioi.132.1526584346854; Thu, 17 May 2018 12:12:26 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:3e4a:0:0:0:0:0 with HTTP; Thu, 17 May 2018 12:12:26 -0700 (PDT) In-Reply-To: <20180517203856.aa6b8b241e23b9c07483232b@bidouilliste.com> References: <201805171814.w4HIEA0F079835@repo.freebsd.org> <20180517203856.aa6b8b241e23b9c07483232b@bidouilliste.com> From: Matthew Macy Date: Thu, 17 May 2018 12:12:26 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r333745 - in head/sys/contrib/ck: include src To: Emmanuel Vadot Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" 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:12:28 -0000 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. > > -- > Emmanuel Vadot