Received: by 10.192.165.148 with SMTP id m20csp1075974imm; Wed, 2 May 2018 13:42:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZooXShDtMjeCQYQ9OLZ0l3u7PtVXBSgodlwPb0YKnJ3FjZ2I/gOR/4fzXG6sN0ocgdDehN7 X-Received: by 2002:a63:6d41:: with SMTP id i62-v6mr17240909pgc.233.1525293747060; Wed, 02 May 2018 13:42:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525293747; cv=none; d=google.com; s=arc-20160816; b=eGoqDQAmlX6y8IraVd6uWUXAr1bKGJXdJPhJqCgLUxORJG+ZM0QkNg/hALZmLu8a05 VI8Zouj8h/Btt1a5f0jLXVx4fi5EBia7bX5HNOAcdHvoyjHluxfaSP9Xgs9I42fHCIvN ZwihkNwyu8yLbs8jUepSXGpVustD1iy6lKBXv6z7ofjTeWJ5GJf7iAfMRa3TLYe2cByT GiyHwUJTWossbHmJOmpVVqBwRxDX29PJnqEl24SoEyCCiFDx1QeGmOW5vKUmLCUvLIez IzE4y8fguX3gU7M7UaGOFgLVwQ6jhLQtRHm+dvee9893luCh4AbGCsP+r9jqEzQwv+BY dBCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=unN+gv20x95QZ4ydt5yq1sLpd4Wz1GSmDLfENlAEqqE=; b=pp8DpZVyaq0+/cK+UmO5H2FP63EVsd1KveeUVPHet+vlCIzo049S8nmK6/asy6ycb7 mc/9vsgnGZymjT+c2jYMJLLQDcG5gLXSKSnAVDjs5jlyVtqp1y4PNjZBlJB2NqvsZKo/ +fnFQdzB/a9ipgMl1LL85IeXBQx34xqrhVJD+FhqifmKqRPxqB6MUmS6+8gKYs5hCcJL X6NiukdU5maU5OQMYpSQQ1lx1pzomqWQIER6jNrxX6emG/KGVeTvdz1BGPNbFvVTu0om 3QCQhvGrnjc56o3v1jOscQMawxa75HbfEerTPbKuuceqn5oba9gENzI0c9NaEhYTaQgt 9lOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=B+nWrtIZ; 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 w11-v6si10065371pgr.489.2018.05.02.13.42.12; Wed, 02 May 2018 13:42:27 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=B+nWrtIZ; 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 S1751329AbeEBUmA (ORCPT + 99 others); Wed, 2 May 2018 16:42:00 -0400 Received: from mail-vk0-f44.google.com ([209.85.213.44]:33037 "EHLO mail-vk0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750939AbeEBUl5 (ORCPT ); Wed, 2 May 2018 16:41:57 -0400 Received: by mail-vk0-f44.google.com with SMTP id q189-v6so9916415vkb.0 for ; Wed, 02 May 2018 13:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=unN+gv20x95QZ4ydt5yq1sLpd4Wz1GSmDLfENlAEqqE=; b=B+nWrtIZRKIsbkcTtc7hCbHSDzoY8W3t1kYwW+swrbAnBjg5yX01nIwgOrxmugK33H JqYGlTdLk9ReK3ovso52H6gx42kNLMs2VFkdxgOE/IJVKEqbe1K+S2zMBtKGzVuqUcNo +EuVYE1iwBxEcsyd6x+dMhLwzYlh55ql9UrHn+8r6rhcpQs7zSCrlGnt6u8VkeQj8USF ijycIeCdhQkzp3zxf5K/DIzt4H+LOobejx/4rdGSGQWreoJv1lzfn+9Tc5LPf1D42uf9 bvxifJs4NLAmzqfAYq0fD6UUQWj9P3JvdnjecFNcedunTwKTeyvIwI/jfjTSDT60znGX Lyog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=unN+gv20x95QZ4ydt5yq1sLpd4Wz1GSmDLfENlAEqqE=; b=pxIdQKbZSmWpDUKNVuk2/O2OR5IFxo9ye6nB/qeN/TyZ4sVjFcsPNWnY4G8DrsCRgZ Ac1AMmVRLFEc8vVhE+bbqoHhuM56eCJkcQg8B70lzDenq8qcpSEObnCd6Kc4LfWgoZNW /qRuMa6uXU3gQQXU+TaKCPfKBhhvdKVR6P5rZUR/h7nvB7Z4W4CNzWK7ug6QV62xLUjc ndVxSKjvj9Wd2usjBkRDAxaG88nz0+OY0PpBWhJm3QjiEpEHoqJ/p0n+H8WzWA6gJkQn a+J8dab17xV1moL4RRsxvo+PArqHD3BuSH8+xwuUTZWZKmNoOIhyAkB34dO5BixdCtg1 sZBw== X-Gm-Message-State: ALQs6tDSspkLDqLhF1dOhM4TknMgFXHQnQa5Gh06sIuMPlbLBSNgSHzN FX5Eg0+nUYqqp9bFU2KpHQO4TJFWEx7CUEBh39E= X-Received: by 2002:a1f:3197:: with SMTP id x145-v6mr19431208vkx.3.1525293717001; Wed, 02 May 2018 13:41:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.122.10 with HTTP; Wed, 2 May 2018 13:41:56 -0700 (PDT) In-Reply-To: <20180502195138.GC18390@sasha-vm> References: <20180501163818.GD1468@sasha-vm> <20180502195138.GC18390@sasha-vm> From: Geert Uytterhoeven Date: Wed, 2 May 2018 22:41:56 +0200 X-Google-Sender-Auth: io3Tu1cNU5vsN-zODbCVn8ub5z8 Message-ID: Subject: Re: bug-introducing patches To: Sasha Levin Cc: "ksummit-discuss@lists.linuxfoundation.org" , Greg KH , "w@1wt.eu" , "julia.lawall@lip6.fr" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sasha, On Wed, May 2, 2018 at 9:51 PM, Sasha Levin wrote: > On Wed, May 02, 2018 at 05:32:37PM +0200, Geert Uytterhoeven wrote: >>On Tue, May 1, 2018 at 6:38 PM, Sasha Levin >> wrote: >>> Working on AUTOSEL, it became even more obvious to me how difficult it is for a >>> patch to get a proper review. Maintainers found it difficult to keep up with >>> the upstream work for their subsystem, and reviewing additional -stable patches >>> put even more load on them which some suggested would be more than what they >>> can handle. >> >>Thanks for your work! >> >>> - For some reason, the odds of a -rc commit to be targetted for -stable is >>> over 20%, while for merge window commits it's about 3%. I can't quite >>> explain why that happens, but this would suggest that -rc commits end up >>> hurting -stable pretty badly. >> >>Aren't more -rc commits targeted for -stable because they are bugfixes? >>Ideally, new features are supposed to be merged during the merge window, >>while -rc commits fix bugs. > > new features can only be merged during a merge window, bug fixes can > be merged at any point. I wrote "ideally". There's a big difference between theory and practice... >>So they can be categorized like: >> 1. Plain -rc commits, > > What's this exactly? -rc commits are only supposed to fix bugs. ... hence not all of them are fixes. Sometimes fast-tracking a new feature or API reduces dependencies for the next merge window. This is just one example of IMHO valid non-bugfix -rc commits. Between v4.17-rc1 and v4.17-rc3, there are 660 non-merge commits, of which - 245 carry a Fixes tag, - 196 carry a CC stable, - 395 contain the string "fix". (non-mutually exclusive) That leaves us with 200 commits not falling in the bugfix category. >> 2. -rc commits fixing a bug: >> a. in the same release cycle, >> b. in a previous release. >> >>2a assumes the bug was backported to -stable, too, doesn't it? > > Bug fixes for features introduced in that release cycle won't be > backported to stable. They do, if the original commit was introduced during the same cycle and backported to stable. >>Do you have statistics for which categories are most buggy? > > I haven't broken it down to subsystems for a few reasons: I didn't mean break down by subsystem, but by category from the list above (1, 2a, 2b). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds