Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6245147ybv; Tue, 18 Feb 2020 12:51:16 -0800 (PST) X-Google-Smtp-Source: APXvYqxVfta8ub+9LDXwuR9gymYmqFna4F3O6uspMzehlOIYynBAjDqGbjU233dVY6mDDv8Iy1b3 X-Received: by 2002:a9d:7086:: with SMTP id l6mr16530718otj.294.1582059076148; Tue, 18 Feb 2020 12:51:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582059076; cv=none; d=google.com; s=arc-20160816; b=Oy6ZvzSzNAq6ZbvNdIKx8vDuf13yakGrfOF/GK6CGOgPXpfWa1iaQpew/AhQojjobk cvxWQbMR6eH2UoNBaJvZNX+0otAPrPl7wgpbqtixIT6WjBauie5cVXsVuRkxjQ40DulU bMUTNPkQa5Nfd/FGZRjrv4J4wl752pYL1eRKIgou+mYG7mM51fWP6I4FXM+aLj+N3lue n7ZzsHCwHHtgIP71Mr/dfM1TuEKAJvxYUF1sam61m9dUfb7XY8A/pjFs0t2JoIRHw0vH pTUwFMAf0ddEG0wLVzDLUxsuBmySrT2Mbi6HhoE0E7p0ksn+WBj5b8vJEjDDIgHPfLWi xnwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=RwJzROtclug+6OXz3/hH3THwl9rMsXazjmrjP4Pp7BQ=; b=G1o4x7r/x6d4GkvucYVlkU/aALmk17tb0P2vudWbcLqt5x15qM8rudAm2fvA1sul3A GXb9b+Y3CqvY4VFAf+doD6NQhphmQgxpSnQ/KG7fX6Y+TvR6fm2xxFwGrmgyZl6Qqr0z QYf6KGxbS+9K4MoVleBOcxn3FLn7ySP4GQkSxFOxL9Bx8do4WhPSpVbDSULbPNbeLitr QX24R6KVd4m9lIW1iCScRSTDG5BRFJOToXIVV3h9hOLixT6oKyqHOMp1kOOfn1djezLF bKj5MDeFjv/gOYBKG40hdQL64/IBrqgq3ECLkm00Tejlp7gNm59VxQG+8hH0ijS2Nq7X gd+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n25si8485281oij.175.2020.02.18.12.51.03; Tue, 18 Feb 2020 12:51:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727780AbgBRUqu (ORCPT + 99 others); Tue, 18 Feb 2020 15:46:50 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:37084 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727747AbgBRUqt (ORCPT ); Tue, 18 Feb 2020 15:46:49 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 2F09212446870; Tue, 18 Feb 2020 12:46:48 -0800 (PST) Date: Tue, 18 Feb 2020 12:46:47 -0800 (PST) Message-Id: <20200218.124647.1818327768943953431.davem@davemloft.net> To: madhuparnabhowmik10@gmail.com Cc: pshelar@ovn.org, netdev@vger.kernel.org, dev@openvswitch.org, linux-kernel@vger.kernel.org, joel@joelfernandes.org, frextrite@gmail.com, linux-kernel-mentees@lists.linuxfoundation.org, paulmck@kernel.org Subject: Re: [PATCH 3/4] datapath.c: Use built-in RCU list checking From: David Miller In-Reply-To: <20200218195802.2702-1-madhuparnabhowmik10@gmail.com> References: <20200218195802.2702-1-madhuparnabhowmik10@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 18 Feb 2020 12:46:48 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: madhuparnabhowmik10@gmail.com Date: Wed, 19 Feb 2020 01:28:02 +0530 > From: Madhuparna Bhowmik > > hlist_for_each_entry_rcu() has built-in RCU and lock checking. > > Pass cond argument to list_for_each_entry_rcu() to silence > false lockdep warning when CONFIG_PROVE_RCU_LIST is enabled > by default. > > Signed-off-by: Madhuparna Bhowmik Applied.