From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [Patch net-next v2] net_sched: get rid of rcu_barrier() in tcf_block_put_ext() Date: Tue, 05 Dec 2017 14:53:51 -0500 (EST) Message-ID: <20171205.145351.1857165643121726050.davem@davemloft.net> References: <20171204184818.23960-1-xiyou.wangcong@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, pabeni@redhat.com, edumazet@google.com, jiri@mellanox.com, jhs@mojatatu.com To: xiyou.wangcong@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:39536 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752387AbdLETxw (ORCPT ); Tue, 5 Dec 2017 14:53:52 -0500 In-Reply-To: <20171204184818.23960-1-xiyou.wangcong@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Cong Wang Date: Mon, 4 Dec 2017 10:48:18 -0800 > Both Eric and Paolo noticed the rcu_barrier() we use in > tcf_block_put_ext() could be a performance bottleneck when > we have a lot of tc classes. > > Paolo provided the following to demonstrate the issue: ... > Tested-by: Paolo Abeni > Cc: Eric Dumazet > Cc: Jiri Pirko > Cc: Jamal Hadi Salim > Signed-off-by: Cong Wang Applied.