From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next v3 00/10] Refactor classifier API to work with Qdisc/blocks without rtnl lock Date: Tue, 25 Sep 2018 20:18:09 -0700 (PDT) Message-ID: <20180925.201809.448916928209232352.davem@davemloft.net> References: <1537805922-10744-1-git-send-email-vladbu@mellanox.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, stephen@networkplumber.org, ktkhai@virtuozzo.com, nicolas.dichtel@6wind.com, gregkh@linuxfoundation.org, mark.rutland@arm.com, leon@kernel.org, paulmck@linux.vnet.ibm.com, fw@strlen.de, dsahern@gmail.com, christian@brauner.io, lucien.xin@gmail.com, jakub.kicinski@netronome.com, jbenc@redhat.com To: vladbu@mellanox.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:45604 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726197AbeIZJ26 (ORCPT ); Wed, 26 Sep 2018 05:28:58 -0400 In-Reply-To: <1537805922-10744-1-git-send-email-vladbu@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Vlad Buslov Date: Mon, 24 Sep 2018 19:18:32 +0300 ... > The goal of this change is to refactor tcf_block_find() and its > dependencies to allow concurrent execution: > - Extend Qdisc API with rcu to lookup and take reference to Qdisc > without relying on rtnl lock. > - Extend tcf_block with atomic reference counting and rcu. > - Always take reference to tcf_block while working with it. > - Implement tcf_block_release() to release resources obtained by > tcf_block_find() > - Create infrastructure to allow registering Qdiscs with class ops that > do not require the caller to hold rtnl lock. Series applied, thank you.