Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1553778ybj; Fri, 20 Sep 2019 12:21:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKRZFC7KPLUZ5SH5142JQDoYTrtDWcgF5Qwb4Zowp/I674j2Vd2PXxPu5fCGbXfdLnzQUw X-Received: by 2002:a50:ac0d:: with SMTP id v13mr23478591edc.189.1569007261684; Fri, 20 Sep 2019 12:21:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569007261; cv=none; d=google.com; s=arc-20160816; b=jkcCjCwlNjvSorPoDtyD3TiCSi2HUsRRP6th7pv7XRTlS2XuOC4pK7H/LZFpxzCtRr P2kaWfssYSexln75CBvvRZycKqI/nFZfY2d9mm4BH53PkIU3oKx5OEE/OUzhd0miHmPT JkG49j5Ki55Eudb1a15BnPg+O9Pbiwyv8h6zKov+pEUKWR7F5Su5rKseIalfVgWSf0Yt DeP92amwXiLOjyRXxI1ZyqzBuMtTgYdmGsZv6Yy71nS24ZOKkUms3QQpT+C00RjJ4uVD WGgP1LdVYU8liPBTTkyV0XBvvJ2bNFK8fzxbVzn+jaLCg65bzHB+9fT5Jyn4toXdfEj/ w3Iw== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=2hQDTQjnSsW1VsG1oz7/x04n4JF0426dRW41K9FNadk=; b=XvXcwjv3I+J2eWHHubhBq9OqPFbjuXpS7cebyaqoDkEK9mp/YQutTCOnbh+MJinpTz LMNB64IH5suqVV3gTPPfu6ua08L//6ufM4ZKhYIDkIIXwbSCDoCu3HAOD+IPHHiAetQN mi36TSiAHIlrYlu0CJx28ENssrfQ+E2hF+3OZ2LJTQr6Rs3iaEwog3PMY2EPHwKbRh83 r28QV02GOXYb2Zn+zp6mbtLRlgENOzxIIMZ+kZ1hG1ICctHR/2zRXBLdrddAOvmZ4AQP vPv4hDMIHq+20LV5d7mAPWBzc80v8wCNu/NBPnvRRabkpwEolOEvB6VqhhMbidxvoEUX bNyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=ijzzmZ3n; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-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 bt6si1937889edb.69.2019.09.20.12.20.36; Fri, 20 Sep 2019 12:21:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-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=@lca.pw header.s=google header.b=ijzzmZ3n; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726421AbfITMul (ORCPT + 99 others); Fri, 20 Sep 2019 08:50:41 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:41548 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbfITMul (ORCPT ); Fri, 20 Sep 2019 08:50:41 -0400 Received: by mail-qk1-f196.google.com with SMTP id p10so7140964qkg.8 for ; Fri, 20 Sep 2019 05:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=2hQDTQjnSsW1VsG1oz7/x04n4JF0426dRW41K9FNadk=; b=ijzzmZ3nvF7W4G6FRYIveg83+VVXhZ1mbySwLz7P7vjbMH20YscYZLMa6yQ1Ei211J rauPw9Bs3NzG3FilFYH4usejb8l+vmPvaElVOhJAnFRWMrLoV0Awdey55Jm0QEJdgN+7 4Pf3qhjAAVCv5g9GQovJ3UeJ3u7wLUaKGFQ85WtB8st4NoUKy9RWRdsaBTxMNzD1c01P e4c3briubZW7NQ8e9ltVbNKymhKjonZIDtBC5u4xkTxnNeKdY07M9/jPQTmjSzBGSunV OQaVqjiO1QXuxaypDk1MoJvp1JEAkFkjdTdHEAIWj720NGgurgqKPGGQsEa8yt+JrfkU IJhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=2hQDTQjnSsW1VsG1oz7/x04n4JF0426dRW41K9FNadk=; b=LqQ0+F4pGvwXaUN0m5UYGyy4zbFj7UmM6tqu2kjQ3MGQ/mJEgzY+L6YBphTPiUbOs/ wZSt9yV7FoJK7T9Nr+hn1crSaGohDK17I6NxWm7DLasTDcTcW9keymO2ciSFrhz57EiT A92q0SPJlswDPFaY537LkoYo8KWuKSWOsZzVHQYt+DaOScjnfY+R1VoyBrA/ahcoYofz lvQLamT54GH9o4UQjcPALU4/E6I3D8oA26bQaEgTexSzilyCkp6f7xyCUodGLwVkd9/w 2oiiSuQTdjJPk6Oa0TaT5PJp1p+fxHTmnzSSjXSUWXchwmWoQXutdQkFdYeJocvSORet 5MsQ== X-Gm-Message-State: APjAAAWZJVfgWViKGi03MTbr8FT0G2fMXo7QRQ2MZ7kddNDp6ra+Y1UL E/HtCokXSuHZcNwZdEtq5vxFbg== X-Received: by 2002:a37:a9c1:: with SMTP id s184mr3481758qke.360.1568983840132; Fri, 20 Sep 2019 05:50:40 -0700 (PDT) Received: from dhcp-41-57.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id a11sm931585qkc.123.2019.09.20.05.50.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Sep 2019 05:50:38 -0700 (PDT) Message-ID: <1568983836.5576.194.camel@lca.pw> Subject: Re: [PATCH -next] treewide: remove unused argument in lock_release() From: Qian Cai To: Will Deacon , torvalds@linux-foundation.org Cc: ast@kernel.org, akpm@linux-foundation.org, mingo@redhat.com, peterz@infradead.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, sean@poorly.run, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, gregkh@linuxfoundation.org, jslaby@suse.com, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, intel-gfx@lists.freedesktop.org, tytso@mit.edu, jack@suse.com, linux-ext4@vger.kernel.org, tj@kernel.org, mark@fasheh.com, jlbec@evilplan.org, joseph.qi@linux.alibaba.com, ocfs2-devel@oss.oracle.com, davem@davemloft.net, daniel@iogearbox.net, netdev@vger.kernel.org, bpf@vger.kernel.org, duyuyang@gmail.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, hannes@cmpxchg.org, mhocko@kernel.org, vdavydov.dev@gmail.com, cgroups@vger.kernel.org, linux-mm@kvack.org, alexander.levin@microsoft.com Date: Fri, 20 Sep 2019 08:50:36 -0400 In-Reply-To: <20190920093700.7nfaghxdrmubp2do@willie-the-truck> References: <1568909380-32199-1-git-send-email-cai@lca.pw> <20190920093700.7nfaghxdrmubp2do@willie-the-truck> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 (3.22.6-10.el7) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, 2019-09-20 at 10:38 +0100, Will Deacon wrote: > On Thu, Sep 19, 2019 at 12:09:40PM -0400, Qian Cai wrote: > > Since the commit b4adfe8e05f1 ("locking/lockdep: Remove unused argument > > in __lock_release"), @nested is no longer used in lock_release(), so > > remove it from all lock_release() calls and friends. > > > > Signed-off-by: Qian Cai > > --- > > Although this looks fine to me at a first glance, it might be slightly > easier to manage if you hit {spin,rwlock,seqcount,mutex,rwsem}_release() > first with coccinelle scripts, and then hack lock_release() as a final > patch. That way it's easy to regenerate things if needed. I am not sure if it worth the extra efforts where I have to retest it on all architectures, and the patch is really simple, but I can certainly do that if you insist. I have just confirmed the patch [1] also applied correctly to the latest mainline, so it might be the best time just for Linus to merge it directly so it does not introduce build errors later on? [1] https://lore.kernel.org/lkml/1568909380-32199-1-git-send-email-cai@lca.pw/