Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7700773rwb; Mon, 12 Dec 2022 19:11:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf7ZcQJNKkCJbNI1XGgdqoyjskN7MfW8ZKU8ThX8OaITZVSXQBek+UcCq57/sFdOGaiHxISc X-Received: by 2002:a05:6402:1ca3:b0:46f:decf:a5bd with SMTP id cz3-20020a0564021ca300b0046fdecfa5bdmr6377483edb.40.1670901094504; Mon, 12 Dec 2022 19:11:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670901094; cv=none; d=google.com; s=arc-20160816; b=bGcFmuQhv7XNvHgAGyvB+s5xq1lb/kImtP39r97cXkkoRsvdaTBLaS3C6AKJ33PvYz m7c6UWUlDNaJ6Dx6c0OLkKSXnlC6VAPIn2zvFTWc14SQkXcGQgVZ3+eW9uddlMfdCiWa 1UUFKHj9uaV8T61aaeFQ2FAPCvGVxZw39GvPSZmwGkUama+R2sFSQUoouO6VuQnU0XdA 616SdAPoEHxTQytWG6yCM8uEuUx/11LWKiFz0db4TEU3Vu+SJUGDyuaLzyVdKgUj7uQo g0RRTtCc9ycwuVL/wg8AHcoEjmCpj5hAwEKUHWEVjyiSDzJoRH6DhSeJjItLHEeQCN+t f03w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=0dc9lgZjVANauji2m70gBAeV2LINYSzAa3eEsrS3Gs8=; b=i2CgFXcTdElj7xC2K+9BYFRJoYv++s4iSvExEBF+tZepBp9a+CEtK4R0Z7Unqo8plu ZN5Yoyag/0h4NNhCtTE5Bp00U3EZ3seV4yOB4I52QWWbXmZuDujEj5fezT1puIEfVnPl WX/Ph+J0jz6LI2m4zJSxGvOOjE4Et4pPNUZyvOWD2B7JJQwEBstF3St/hkAVz4LnmzCq 9pTfuqhgs4meZu20r4n2iZe3qoQw60r8ABrrPM6SDPpbxxpAI9VY7Qd9KAJoGaCSyklW D4rdZbuPRCnKrPJrKOEvlc2Or8xN8ucHym7qAVrjY/1/Q571pJ0zZBTBRfRvFIYS7zFT RyvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="uKN/mflF"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds1-20020a0564021cc100b0046f973651efsi5775992edb.589.2022.12.12.19.11.16; Mon, 12 Dec 2022 19:11:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="uKN/mflF"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234336AbiLMC6R (ORCPT + 75 others); Mon, 12 Dec 2022 21:58:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233100AbiLMC6Q (ORCPT ); Mon, 12 Dec 2022 21:58:16 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C050413F2C; Mon, 12 Dec 2022 18:58:14 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4NWNTw2Hdlz4xN4; Tue, 13 Dec 2022 13:58:12 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1670900293; bh=0dc9lgZjVANauji2m70gBAeV2LINYSzAa3eEsrS3Gs8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=uKN/mflFOkoC+pzOQcTxJdDlh8T6HJjDg1xC93hF8UcpGEuHSxmiBjXb0g2dDkS5p 5F9YdMZf+4+aFiZZN2nwemZVTxZJjJNvv6lTWmeXoJFJbq/NjjdGh8dpfJ+3zRHmAH Bn/lC+CNBrwakh69Hh2l25iW6+zAvw0StV/UIytCRMJr0SvYGhNj8H/OXgNoJWNO25 oVoOBHbyOLLNfFHUDVK4L7sQlyWXjTF1FCquB9QhHqES/FvtRpIWOUdZGNOZuAoe/+ OYhhwELvpUbQ8BOKqfrhjanOlu8MDI519h2sBYGERFY2AjMfKL50SHgooDX1hw7Y09 UrFYxumW501Og== Date: Tue, 13 Dec 2022 13:58:11 +1100 From: Stephen Rothwell To: Andrew Morton Cc: Vlastimil Babka , "Jason A. Donenfeld" , Linus Torvalds , linux-mm@kvack.org, mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] non-MM commits for 6.2-rc1 Message-ID: <20221213135811.3f0b07b2@canb.auug.org.au> In-Reply-To: <20221212183554.e0a2536e860172282b189ca4@linux-foundation.org> References: <20221212134425.b20b80955e5e8a4a36ce1b9a@linux-foundation.org> <20221212142754.5f699c4ff515fd9d42768fb2@linux-foundation.org> <20221212183554.e0a2536e860172282b189ca4@linux-foundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/ZdDhwBg7FNFHWcu.l8kupo_"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/ZdDhwBg7FNFHWcu.l8kupo_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Andrew, On Mon, 12 Dec 2022 18:35:54 -0800 Andrew Morton wrote: > > On Tue, 13 Dec 2022 00:16:07 +0100 Vlastimil Babka wrote: >=20 > > On 12/12/22 23:27, Andrew Morton wrote: =20 > > > On Mon, 12 Dec 2022 15:16:43 -0700 "Jason A. Donenfeld" wrote: > > > =20 > > >> On Mon, Dec 12, 2022 at 01:44:25PM -0800, Andrew Morton wrote: =20 > > >> > wifi: rt2x00: use explicitly signed or unsigned types =20 > > >>=20 > > >> Why is this part of your PULL? This was a netdev/wireless tree fix w= hich > > >> was in 6.1-rc5. Kalle wrote that he took it on 21 Oct 2022 in: > > >> https://lore.kernel.org/all/166633563389.6242.13987912613257140089.k= valo@kernel.org/ > > >> =20 > > >=20 > > > Huh. I guess git quietly accepts the identical commit, so Stephen > > > never told me and my test-merge-with-Linus-latest also came up clean.= =20 > > > Which leaves it to me to manually handle these things, and that's > > > unreliable. > > >=20 > > > Is there some way of telling git to complain about identical changes > > > when doing a trial merge? =20 > > =20 > > Probably not exactly that, but there seems to be a way with "git cherry= ". Dunno > > how reliable in practice, seems to be based on patch-id so probably can= fail > > easily if the commit or context changes slightly? =20 >=20 > Well here's a hacky thing - just look for duplicated patch titles after > stripping away the hashes. >=20 >=20 > $ git log --oneline --no-merges v6.0..HEAD | sed -e "s/[^ ]* //" | sort >= /tmp/1 =20 > $ uniq < /tmp/1 > /tmp/2 > $ diff -u /tmp/1 /tmp/2 | grep "^-.*" >=20 > The above turns up 67 duplicates in Linus's tree and 382 in linux-next. > Maybe this is wrong - I'm just tossing it out there in the hope that > someone will do the work for me :) I already do this when I produce my stats after the merge window - I produce three lines like these (from last time): Commits with the same SHA1: 10436 Commits with the same patch_id: 342 Commits with the same subject line: 20 The above is pretty easy, but takes a while (looking at 11000+ commits) because I am just conparing Linus' tree to one of my trees (so 2 branches in my tree). During out development phase, these commits could be spread over 350+ branches in my tree :-( I will have a play and see what I can come up with. The plan would be to figure these out when I fetch trees and only report them to people who care (just you, Andrew, initially) as there are trees out there for which duplicating patches between the development branches and -fixes branches (and Linus' tree) is part of the process :-( --=20 Cheers, Stephen Rothwell --Sig_/ZdDhwBg7FNFHWcu.l8kupo_ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmOX6kMACgkQAVBC80lX 0GwwzQf/epFGs2COgU6byJ1MNtBGxAku6cVVwjJG7M1+s2Ftfq1moVxyEFiEBf2o ZsGFiSMOe7GH/zfbFY/RmpIeZtTh1MBhcWkY9V++qX7pv+c3EUfvVnPHQJXZqPJ7 1nlzLWde1FuYiPl+s9l+9RXjF412nG/pADsi71KqSE88yxc7OeHAopajYeOXYV9j uMriMp2KblJy3po9JyUotyYUSKFaWEMnmfN6ZB+8XMxhkZevbkjkJmsT/ojK78so IZmJX97KVVizoK5acJJTwR5BKWzEEvnyKD+ErWp+LSO+QiMj1iSUfYWUC7D+CMBf t9E2bpmO8cZyMAglK9+PNyeqyPX7KA== =9yiP -----END PGP SIGNATURE----- --Sig_/ZdDhwBg7FNFHWcu.l8kupo_--