Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1604076pxb; Thu, 4 Mar 2021 16:06:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJyMXJgtyWdJ8T2s0GCvBfWeif9wFW42iF/aDdS/9roqKB16sxQOPFy1JlG020W+w/nz3Kag X-Received: by 2002:a5d:9418:: with SMTP id v24mr5706035ion.61.1614902769863; Thu, 04 Mar 2021 16:06:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614902769; cv=none; d=google.com; s=arc-20160816; b=yBsnnjpSK3/rLFYU905sUeJda/74eSV0f3jJjjA/w4TkFof6bm9wqkuH8vE+TskNvH CCNqsddlccQjQGOphLJXFzx1kWgTugj7+PtnfpUP7fXxJe6ZzjJ/4PyOprETGxiC5aV4 kL4UudePlkNUwpuXBj6jaAZDJ0xiH7CkBi18lLXgSayksugN/v/RlRFWp3GuAwYnQT7w nEzQC3vzDTMvlGWm+T3A8eBS9sPplyylkJYjfDMYHr1fizYDNkpAcfVxcxjxLZ1uM9uy 4G80Uaz5yOFYXPURAj/6nk4ioyAafdBWEFAvkerHeNVJGu5xBDSFdKxTeziJTl79EIwg foRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=1D9kLpf5iy7TaCM0AxGye5m9UBiEDLbm1OZN0TB4uhM=; b=jOJV4Cd7AngfLpkMnoUm1ia++SCXyfTwicBmIYd7vusyCIZ47Ty4hYJhvOGdwpD5X/ hvfRvwSMszNrhM3AgrUpmJPxhlPp4GOsxlC9MWjaZWYI6E/sie3IxAKb7lFMnyX1A2wj H7D1wTo2n9PjpbiFqyguvNghIC6MsXuIcerss2MpbHB/yORWOoLjLXsPP07RIvvdzmiN 9j8fm1Otdf/NmYe14sWzhmCkALsfx0cqxfGNHtdVeSLO3Wo/xPuuxR0JvMgmPYclUjRj EDUqo17uIoibarcpyovaONntlaGTp86Y35Q0YJUxR7E9CcQvs/Lg9lNSdPBpXfROIRXU XmDg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c17si906714jap.11.2021.03.04.16.05.56; Thu, 04 Mar 2021 16:06:09 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233716AbhCDHqF (ORCPT + 99 others); Thu, 4 Mar 2021 02:46:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233035AbhCDHpf (ORCPT ); Thu, 4 Mar 2021 02:45:35 -0500 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90022C061574; Wed, 3 Mar 2021 23:44:55 -0800 (PST) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1lHifE-0007Ti-94; Thu, 04 Mar 2021 08:44:52 +0100 Date: Thu, 4 Mar 2021 08:44:52 +0100 From: Florian Westphal To: Mark Tomlinson Cc: pablo@netfilter.org, kadlec@netfilter.org, fw@strlen.de, netfilter-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] Revert "netfilter: x_tables: Switch synchronization to RCU" Message-ID: <20210304074452.GI17911@breakpoint.cc> References: <20210304013116.8420-1-mark.tomlinson@alliedtelesis.co.nz> <20210304013116.8420-3-mark.tomlinson@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210304013116.8420-3-mark.tomlinson@alliedtelesis.co.nz> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mark Tomlinson wrote: > This reverts commit cc00bcaa589914096edef7fb87ca5cee4a166b5c. > > This (and the preceding) patch basically re-implemented the RCU > mechanisms of patch 784544739a25. That patch was replaced because of the > performance problems that it created when replacing tables. Now, we have > the same issue: the call to synchronize_rcu() makes replacing tables > slower by as much as an order of magnitude. Can you give roigh numbers? > See https://lore.kernel.org/patchwork/patch/151796/ for why using RCU is > not a good idea. Please, no link.