Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp815528pxk; Thu, 17 Sep 2020 17:44:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKi6xZUVysVPDcGq7KMKb6k4adveebZii5RPqsTswFPPQRp94hggyKjJHLWWqbnQtoIkzd X-Received: by 2002:a17:906:52c2:: with SMTP id w2mr34084268ejn.389.1600389843868; Thu, 17 Sep 2020 17:44:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600389843; cv=none; d=google.com; s=arc-20160816; b=nf/m6hukTy3oOGjg7hsN1mw20bLrRGnSgA/8tI/OiZk/jjZrDS0UssaFhulq+XPAxw JdNeznQrtsEzpm4ukzmxDW1N+sLmfwnWAsQxzuLX5k1rpyVoHhtF+klldujyANjqFj6J /ALvEvcvWEYRftB+8e3L/DWSnCr0FKSCaOQ5i9lMWsTXwX4qU7BMm8b4z+gjya4ExhbM GQaRldqpyXA7DiWEm6+CPmOaIiz7aaBnu4RW45OjdAmzcQoRVmrvRIaQNsxZ2ayDuKdi idaHS90cWUEWWlNqSAJonTQTCap7MaSCc0afFpW0qoGNEf0C1qSjDDTUIJ1pUsHLikIt xgZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=EiWtLtDGF+mbpQMLR50cNaArfWqLA5zM1FNbb2BWLtE=; b=haknj2avbg3q6YmlMAP3aQ0kHI3cBXTEmyPy7QqgK5x/oq3VsS1rhw57F83SnoPXc0 ogl0ru04f4vV688aTgOvgTCZa8GVmaf3ixX4izfDWPMWKUuhcp3UgoMtAVArvAgb3Nrh 3zcdOyyR2qnu9LGXscO5rPTJ3eAlawSQ88ziAp2/4Q5Bn5YnlmqSjn4J2vOrXJfexSVM lFOntYtseTVZ5LQ7DrcXaoLEURxWpC66jrBWyBWTF8rESoOMWQu2Y+JwqC4u7+K2u4/Y a6i7SB/czqIZjkV9B7KPYBPyvjNdurXbracmsAtZbJiBzQP5Z0zsrSwKQO7Qh2kc4Ajl kbXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arista.com header.s=googlenew header.b=JNQ3qdoW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=arista.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z34si1020436ede.447.2020.09.17.17.43.38; Thu, 17 Sep 2020 17:44:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@arista.com header.s=googlenew header.b=JNQ3qdoW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=arista.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726117AbgIRAkS (ORCPT + 99 others); Thu, 17 Sep 2020 20:40:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726009AbgIRAkS (ORCPT ); Thu, 17 Sep 2020 20:40:18 -0400 Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61714C061756 for ; Thu, 17 Sep 2020 17:40:18 -0700 (PDT) Received: by mail-qt1-x841.google.com with SMTP id b2so3568006qtp.8 for ; Thu, 17 Sep 2020 17:40:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arista.com; s=googlenew; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EiWtLtDGF+mbpQMLR50cNaArfWqLA5zM1FNbb2BWLtE=; b=JNQ3qdoWnpY2C+vL+PxiQUinE5r83Ya4m4M9y1NGodZPRYXFzOjbpzB9NPd+kEcGI2 pfGErV51tWsTSE1huFj/By8DJXgOSdEysjt0DbLmAwZ6H92LadeTEKzpYZMNWm2DK+6v 9CA1Q2XJsuOw7FJWEs9rJSvwFwHK+edgjHkTWC6CSbYbIvz88RxCnlVBHKY5cyoExOAA XUNijeZawtjMU9tAzbOSMTQ10uSQwMBgoFrcXMNxnT/+VWHgOzNh4tQ+Zl8BgvxSQw9o YW7SRSXimhdwUZA8rI8h6l/e9K5jCmOOk3Z9a8j5BdhdLmYOrGN0I7ZXOX3D2NwEoXNr nNZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EiWtLtDGF+mbpQMLR50cNaArfWqLA5zM1FNbb2BWLtE=; b=n5MSZA+xBzDdc8eM9DVGHsHQ5uKnUeubNXoWNr9T4ekPdHk+1oYK0Y5TxppT1OLtbc q2hBFwwnIwGLPlqe8b2e2qHdrar3y38nCTyPikJ90S4meS8ai0C+1nmWvOTwbaqTN3om 1+M87QESrzxPwN+L4AYknJ+d7fi4nVLFsJBRpEI568y2IGIRYXqBoWsnltctoWjbVTca iOc69anUh0KIDiX+4aP/YlZczaqcWzjOT6kPM2v5WPh7ywdo24NTlHOjlxF3XcBxzXlV QeoF5/ymbRv791YdvBdBXyyP3rzhVM8kRRmwHChMG6sUi0dknvyN9VAJI36k7jDbTwh1 7/Ag== X-Gm-Message-State: AOAM5307iKprt2Qvgkt2rlKkCE75VFA8wRKpFHd1PM7kwCE0A7v1pCOp ++LKqjpoIR0Fj9Anb4qTFYbuSTNNURnz2QeW7Gemfort5A4= X-Received: by 2002:ac8:660a:: with SMTP id c10mr18652652qtp.300.1600389617338; Thu, 17 Sep 2020 17:40:17 -0700 (PDT) MIME-Version: 1.0 References: <20200917234953.CB1D295C0A69@us180.sjc.aristanetworks.com> <20200917170203.1a363082@hermes.lan> In-Reply-To: <20200917170203.1a363082@hermes.lan> From: Francesco Ruggeri Date: Thu, 17 Sep 2020 17:40:06 -0700 Message-ID: Subject: Re: [PATCH v3] net: use exponential backoff in netdev_wait_allrefs To: Stephen Hemminger Cc: open list , netdev , Cong Wang , Taehee Yoo , Andrii Nakryiko , Eric Dumazet , Jiri Pirko , Alexei Starovoitov , Jakub Kicinski , David Miller Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 17, 2020 at 5:02 PM Stephen Hemminger wrote: > Is there anyway to make RCU trigger faster? This is a case of the networking code requiring multiple cascading grace periods (functions executing at the end of a period scheduling more functions for the end of the next period), so it's a matter of how many steps are required, rather than how fast each step is, if that is what you are suggesting. I don't think that expediting rcu periods would help in this case, but I will defer to people with better knowledge of the networking code than me to comment.