Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3790753ybi; Sun, 2 Jun 2019 23:44:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqw24cFjhaOweJ/vSsMzN3NQeEkM+g58FkoFRyKqQmyBeddwiTSh5PavI5e5NB0jn/y68VoV X-Received: by 2002:a17:90a:734a:: with SMTP id j10mr28075409pjs.92.1559544260655; Sun, 02 Jun 2019 23:44:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559544260; cv=none; d=google.com; s=arc-20160816; b=B6Cy7v2HMu6cuycBbCHuVVvBDk0XiiIT2l3IgCl4Y1rYUuwbHS3BU7Bdv6/2d2lz7F 3Qp/n06jSL27z9XpZ0aHM/AWIRifSmWsG3ugzD/69NxMR+OxbNeL484imaSMR6yjjHnx Ns7N3j5qdm2eypDX+5LmNnBmMfBr3vj9ARQ+be5R3YsGQpIvjeT/FLgdQBHjWT8l3jDV 8OipN3X73+p74LteOawjVI6M4xED+uNMeZw6OopmtaSxqlT+xssZ29P33zmXIkldV0Yt ji4OK+q/Y4lP+ue5eAfLwnR4y/5a1UZ0q/LmQtT5abO2Mqd0c4MbjVDM+mA9tQb0+Pxy I2pQ== 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:message-id:subject:cc :to:from:date; bh=8rba124hUJZW4QECJetXKRgAQ304IcCMZ+W8bdDZysM=; b=VYXtKBktELbqiN50+hGmN2aqNvzTVu0CqL+zRKSXY6ef74ZtYetrPC1JAuaW2EE6Q2 A3tlDMB3vJzGbtAZ/DI5qy7tUzoAMq0TNbJxaC/CiPmGJ6VIOgPXce46y1Z7ak9kqGUJ 1eLH7+gWvYkMIvf3OOqcvK4mz+mH8qbEwsP4fcMEjRsf8P9J3HgiZnbIWEKgSdIkl8xN I1pDN2UWTSnkllUMkqYhZQZbweIJdvWrHIhZ4r3cr0ee29HatetcmILI7GRqnJi7aOXu JrrpOGq8FI7sb4J9gYM+98e4UZWM+HccDWSjJR1w9BUd07VhI0qz51cO9b0Hpuv0L0+H 1oyg== 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 p7si15491434pls.253.2019.06.02.23.44.04; Sun, 02 Jun 2019 23:44:20 -0700 (PDT) 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 S1727230AbfFCGmR (ORCPT + 99 others); Mon, 3 Jun 2019 02:42:17 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:53347 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727194AbfFCGmQ (ORCPT ); Mon, 3 Jun 2019 02:42:16 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 72C3D80295; Mon, 3 Jun 2019 08:42:03 +0200 (CEST) Date: Mon, 3 Jun 2019 08:42:12 +0200 From: Pavel Machek To: Joel Fernandes Cc: Pavel Machek , LKML , Alexey Kuznetsov , Bjorn Helgaas , Borislav Petkov , "David S. Miller" , Eric Dumazet , Greg Kroah-Hartman , Hideaki YOSHIFUJI , "H. Peter Anvin" , Ingo Molnar , Josh Triplett , Kees Cook , Kernel Hardening , Lai Jiangshan , Len Brown , linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, Linux PM , Mathieu Desnoyers , Neil Brown , netdev , Oleg Nesterov , "Paul E. McKenney" , Peter Zilstra , "Rafael J. Wysocki" , rcu , Steven Rostedt , Tejun Heo , Thomas Gleixner , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" Subject: Re: [RFC 2/6] ipv4: add lockdep condition to fix for_each_entry Message-ID: <20190603064212.GA7400@amd> References: <20190601222738.6856-1-joel@joelfernandes.org> <20190601222738.6856-3-joel@joelfernandes.org> <20190602070014.GA543@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun 2019-06-02 08:24:35, Joel Fernandes wrote: > On Sun, Jun 2, 2019 at 8:20 AM Joel Fernandes wr= ote: > > > > On Sun, Jun 2, 2019 at 3:00 AM Pavel Machek wrote: > > > > > > On Sat 2019-06-01 18:27:34, Joel Fernandes (Google) wrote: > > > > Signed-off-by: Joel Fernandes (Google) > > > > > > This really needs to be merged to previous patch, you can't break > > > compilation in middle of series... > > > > > > Or probably you need hlist_for_each_entry_rcu_lockdep() macro with > > > additional argument, and switch users to it. > > > > Good point. I can also just add a temporary transition macro, and then > > remove it in the last patch. That way no new macro is needed. >=20 > Actually, no. There is no compilation break so I did not follow what > you mean. The fourth argument to the hlist_for_each_entry_rcu is > optional. The only thing that happens is new lockdep warnings will > arise which later parts of the series fix by passing in that fourth > argument. Sorry, I missed that subtlety. Might be worth it enabling the lockdep warning last in the series... Pavel --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlz0wUQACgkQMOfwapXb+vJZhACeMv6qy1KMl8fpAmSRbXsFU5yP LY8Ani5H9/TBihxu13cOJbn7mJJ9RWkQ =hotv -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--