Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1604058pxb; Thu, 4 Mar 2021 16:06:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsFzWsp80wSn3gQt2+rX7pEb419D84TbJAOdhgbw5LvmkBHue3MrvavjNEZ7H3Kf9oU/Ey X-Received: by 2002:a02:9986:: with SMTP id a6mr6894502jal.46.1614902767912; Thu, 04 Mar 2021 16:06:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614902767; cv=none; d=google.com; s=arc-20160816; b=jv3KcEyZqwO23R9FOUcyptCwTvtsJrdg2/Tl/Af3QbESrSNXQihKYQsxISSakebVm7 +cRUXprtE8YecL7QDh42+I9aFJQNjksu30YSsuqEgoEcRBvjvv9iUE8Qgl1OALDtryy/ 0uEh73Btiq8gUQfOFjJQxzl29JPkxNUBYRZOICl9PyY3oqAqizB9TYI4rPCT1Cxw4+Ua +LiAsFTSYHdpDR7ks9mLpjn8Sa7MaywEqHQBYtcWIjhu7WNX2AfxmtJDHmd4U/mdWMNA QG7g5DnibUKetwgiyvm1qFKDq1vC/YU1SP4HD+oq2ovHfx/XK2UDw+yawn+Lg6PCjpHX /AsQ== 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=LRvoBO40cmEjgL19OCFkMj4RBNVtfciRd+dY+89y7sM=; b=m06Q/ehzHqXeXJMtuKCAV2XB5dwvI3bQQGqPH6ftWFUIdBQXbueCY5ykD2geTyymu5 xN/RvYmPadGd63Vx6f9rVv0vl4O4G9iNGKfuOkNMA/z4ZAziMpGItBMG+tAA+8x5f5cp i8soDtS1T7AJgLUAarSmu7yElKzJ0G/oe2baj5b6Zkv0ml+rFBsFU+ofdI+wPSCtpHOz reIcfmlSilpAaUirDQW9QuGjtwEbLcfBUXEFlwVHqYxUPRZg9seE8huFrfC4t+HE0EXI J7vMZpzP6G/rWuHQpmHQY2NuIkZ1JKLOtw+bkT/t+5eOHSfZVEtNhqhLjnwOUzpOffun iHkA== 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 b13si674898ils.23.2021.03.04.16.05.54; Thu, 04 Mar 2021 16:06:07 -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 S234393AbhCDHoe (ORCPT + 99 others); Thu, 4 Mar 2021 02:44:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234401AbhCDHoW (ORCPT ); Thu, 4 Mar 2021 02:44:22 -0500 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28904C061574; Wed, 3 Mar 2021 23:43:42 -0800 (PST) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1lHie1-0007Sy-JD; Thu, 04 Mar 2021 08:43:37 +0100 Date: Thu, 4 Mar 2021 08:43:37 +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 1/3] Revert "netfilter: x_tables: Update remaining dereference to RCU" Message-ID: <20210304074337.GH17911@breakpoint.cc> References: <20210304013116.8420-1-mark.tomlinson@alliedtelesis.co.nz> <20210304013116.8420-2-mark.tomlinson@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210304013116.8420-2-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 443d6e86f821a165fae3fc3fc13086d27ac140b1. > > This (and the following) 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. > > See https://lore.kernel.org/patchwork/patch/151796/ for why using RCU is > not a good idea. Please don't add links for the rationale.