Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp550279ybv; Wed, 19 Feb 2020 04:47:34 -0800 (PST) X-Google-Smtp-Source: APXvYqy/yA9zQG9OouLxwUoJ0h/NK4oYTU2PY/7JzoHZuvJlgYwhKrbnCp+s5B/4VneJSy3tWp5/ X-Received: by 2002:a05:6808:4cc:: with SMTP id a12mr4725254oie.115.1582116454483; Wed, 19 Feb 2020 04:47:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582116454; cv=none; d=google.com; s=arc-20160816; b=hYJ7bxz2g8fEx3xLUBarypy/DfpPAe+XoDn+eMZFEeb1ks7HUZsfBl2lViorNzE/id z7QdGBmF0c5NNJrG9MG1IYUu5+x10SuUzCQ39uo2C1xZ/Zq3uw/Qq65bcfVGdQEyTmwl fW2Dld5sYyw2spbTEBEPVrnXCP9AQl4M6tvEJxwB4hHEr5w7H1J64i7wWUo8zFAYS8YP w+WFq6p41uaSesVmAO4jbzxirOwTjtJ7qnhBarQCYF9Qxk7G/MngKKSevYg7PaN06Ckn Eda/wJUO7SwxaKFISSiznh0jxUPgRuHKjV2/411eyQuOvD7ocVuG8xEseZnLlC3jm/x0 Tnkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=YXsXQzIeIcJfCgIFYoh12dA7F/kT+x/VH+KP+aq0eSY=; b=XG1BbskM8IyyyH2VsyCXH59leLczMueAvzammpUJ0AFrpFrPKC7BRyM+Ci8JjfLony dkfyqzwDwvuu4uZ/Q1rml0iM99OJ3xZ6NB8Qws4vEN9NQeuqICXnq0ufCYH4XdK+c6z5 JXqHhiqUslIMSDGNYl3DkSYzyM2sdQhKw+0OYiq8VfeVK1kCP9uT/L5oYRiIxYJ53kbc j9td3RlHzBcvwzGyzJ1buw2lcPdmb5LIBgebcazVgtFFkGQEC9IUhwS9vbWUIPn3zX6A 97X8HoOtup98PDeCiMENfBzIaMvzbXJgHF6BcH4bwQTM/u5sGdBiHWTkLgtn7Ecae2zj 772A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hdwT7jwD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5si1068958otn.232.2020.02.19.04.47.20; Wed, 19 Feb 2020 04:47:34 -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; dkim=pass header.i=@kernel.org header.s=default header.b=hdwT7jwD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727597AbgBSMrO (ORCPT + 99 others); Wed, 19 Feb 2020 07:47:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:50220 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbgBSMrN (ORCPT ); Wed, 19 Feb 2020 07:47:13 -0500 Received: from paulmck-ThinkPad-P72.home (50-39-105-78.bvtn.or.frontiernet.net [50.39.105.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 454C024654; Wed, 19 Feb 2020 12:47:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582116433; bh=78L7q3X7/Zxk9esBo61a/shxQzMYU6nTCnPnkYfB+2E=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=hdwT7jwDCL5ZqQeaRjVdSYu3jP9wC7ywHEszxyECjNhODNCOWO/jdTrdN/TGO8Kw/ iNKq3SBrMzxKe4QcElRQHoD8SJkqLj6UKXd0KzIZM+iwcWfLUOy2jOAHx9O46Ma8Ny OcmmNN29hL1xJorshLjE+GHcL7gPtAHmxirgx1EY= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 1E9FE35229ED; Wed, 19 Feb 2020 04:47:13 -0800 (PST) Date: Wed, 19 Feb 2020 04:47:13 -0800 From: "Paul E. McKenney" To: Johannes Berg Cc: Amol Grover , "David S . Miller" , Jakub Kicinski , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, Joel Fernandes , Madhuparna Bhowmik Subject: Re: [PATCH] cfg80211: Pass lockdep expression to RCU lists Message-ID: <20200219124713.GU2935@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20200219091102.10709-1-frextrite@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 19, 2020 at 10:13:36AM +0100, Johannes Berg wrote: > On Wed, 2020-02-19 at 14:41 +0530, Amol Grover wrote: > > > > - WARN_ON_ONCE(!rcu_read_lock_held() && !lockdep_rtnl_is_held()); > > - > > - list_for_each_entry_rcu(pos, &rdev->sched_scan_req_list, list) { > > + list_for_each_entry_rcu(pos, &rdev->sched_scan_req_list, list, > > + lockdep_rtnl_is_held()) { > > Huh, I didn't even know you _could_ do that :) It is a fairly recent addition, courtesy of Joel Fernandes. ;-) Thanx, Paul