Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4926508rwd; Sun, 18 Jun 2023 01:54:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6okGkbDz99F5KzrsjqvKjaih+eYVZm5g/bKjD+bPDdGr+8kq5Fer3GC6lN52n7Y/oCYy1C X-Received: by 2002:a05:6a20:2594:b0:11d:1d3d:143c with SMTP id k20-20020a056a20259400b0011d1d3d143cmr6356015pzd.56.1687078474346; Sun, 18 Jun 2023 01:54:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687078474; cv=none; d=google.com; s=arc-20160816; b=ni+U+k+k9Y1ejG0sIMpS+PQKyFIrU5emPuNgAna4Ip0uWnsXx7X427AMr45a8qrYH5 dDG5f0rA+mi7HD0psjEliuHcToUDiCtWOfSymQXSq6UxbpZnnNuhRjsYbP4CtVe+2sE1 cTvX7oUzp5aW28uDPnKGUYVlLC/MlXtif1q/ICBlsGfM8HHaWjLfeOWWAuFI0Qp/Pjl3 oSlS35qFMJUfCeqhO82FD1lTrbNCV2GYOyH8J8Oij3VvBkCtKsFwtllU8k97MJsNCNe1 OTaD8hKbedGaRQC7wZ58Vd95OupvWvzd9yEDWCYTpQKNlGD3EQCgaJ9RR+cG8ZB4MGgt AAZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:to:cc:from :content-language:user-agent:mime-version:date:message-id; bh=zGF235sA1Y7ZHpzIRIdlT58iSBF1x15U50s5ylj9gH8=; b=u8hCnvhi4Ffl1M243HJpoRhWwwBjA+bsDVLRPfAXmaEx2cp/qBG0UK/XAR/MwfLYnh x6co6W1J2zckkSGvSbqzlLfOyvZD7v5uMoWYN2qdnOehyRIxDGKFxlZNuaWNhuwFQV3f cjPfuOVsunJfXkbtzoRcAgQE9v+Mj4lVthIecMQ4+FsA8w1d+hp/foxesJVUcvybuVyp cRFLtwd9sNkSZhDo7yskO8EVi3AmpQ/JvCwtWt/0IgD4iZHYFiu5xnRX+ci13NxutzKk Al1XvdqlHzB05voDVD9unpPGZ6qE63p8HK5BgWxSziAY/upLU8z/tZnz2i7DzsbXMkKj +dcQ== ARC-Authentication-Results: i=1; mx.google.com; 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 bs124-20020a632882000000b0054f78775084si13924471pgb.125.2023.06.18.01.54.21; Sun, 18 Jun 2023 01:54:34 -0700 (PDT) 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; 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 S229551AbjFRItr (ORCPT + 99 others); Sun, 18 Jun 2023 04:49:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbjFRItq (ORCPT ); Sun, 18 Jun 2023 04:49:46 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B9AA10E3 for ; Sun, 18 Jun 2023 01:49:43 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qAo6P-00041p-5B; Sun, 18 Jun 2023 10:49:41 +0200 Message-ID: <9e0f5378-63d8-add4-2b79-2173a4c98086@leemhuis.info> Date: Sun, 18 Jun 2023 10:49:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-US, de-DE From: Thorsten Leemhuis Cc: Linux kernel regressions list , LKML To: Linus Torvalds , Greg KH Subject: JFYI: patches in next that might be good to mainline rather sooner than later? Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1687078183;00def798; X-HE-SMSGID: 1qAo6P-00041p-5B X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi Linus, hi Greg, I got the impression that early stable releases with a huge number of patches (like 6.3.2 with ~690 changes) seems to cause a few regressions. As you know, those releases usually contain many backports of changes merged during the merge window for the following mainline release (e.g. 6.4). That made me wonder: How many patches do we have in linux-next right now that better should be merged this cycle (e.g. ahead of the 6.4 release) instead of merging them in the merge window for 6.5 and backporting them shortly afterwards? To check I briefly set down and quickly hacked together a python script[1] that looks at linux-next for patches with tags like 'Cc: stable...' and 'Fixes: ', as all respectively some (or many?) of those will be backported. I made the script ignore a few things, like commits from the past eight days and commits that fix changes committed to mainline more that a year ago. I ran this a few minutes ago and it spilled out about 260 changes (about 80 of them with a stable tag). I put the results into a table: https://docs.google.com/spreadsheets/d/1OnMrde1e7LBMPhOPJL0Sn9rd3W32mTGls_qGMoZS8z8/edit?usp=sharing And now I'm not really sure what to do with this data. :-/ :-D Some of those commits the script found to my untrained eyes look like something that might have been worth having in 6.4 -- especially those with a stable-tag. But not all of them. And I'm not suggesting to merge them. It was just a exercise to see if this might be useful. What do you think about this? Is this helpful somehow? Or can it be made more helpful with a few changes? Especially if someone would regularly run this? Ciao, Thorsten [1] https://gitlab.com/knurd42/kernel-scripts/-/blob/master/stats/next_stable_candidates.py (as any code likely will contain bugs)