From: Sasha Levin <Alexander.Levin@microsoft.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: "ksummit-discuss@lists.linuxfoundation.org"
<ksummit-discuss@lists.linuxfoundation.org>,
Greg KH <gregkh@linuxfoundation.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"w@1wt.eu" <w@1wt.eu>
Subject: Re: [Ksummit-discuss] bug-introducing patches
Date: Thu, 3 May 2018 16:02:12 +0000 [thread overview]
Message-ID: <20180503160210.GO18390@sasha-vm> (raw)
In-Reply-To: <20180503154911.GA26754@roeck-us.net>
On Thu, May 03, 2018 at 08:49:11AM -0700, Guenter Roeck wrote:
>On Thu, May 03, 2018 at 02:55:36PM +0000, Sasha Levin wrote:
>> On Wed, May 02, 2018 at 05:38:32PM -0700, Guenter Roeck wrote:
>> >On 05/02/2018 05:06 PM, Theodore Y. Ts'o wrote:
>> >>On Wed, May 02, 2018 at 10:41:56PM +0200, Geert Uytterhoeven wrote:
>> >>>
>> >>>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.
>> >>
>> >>Some non-bug fixes are allowed in -rc2. So perhaps what might be
>> >>interesting is to look at v4.16 (which is completed), and look at the
>> >>distribution of commits:
>> >>
>> >> * regressions fixes (for bugs introduced during the current
>> >> release cycle)
>> >> * "normal" bug fixes
>> >> * commits which don't touch code (e.g., spelling or
>> >> documentation-only fixes)
>> >> * other commits (features or cleanup fixes)
>> >>
>> >>at each rcX level. The historic "standard" has been feature commits
>> >>in -rc1 and -rc2 (tolerated, but ideally should before the merge
>> >>window), bug fixes / regressions in -rc3 and -rc4, and after -rc4,
>> >>regression fixes only. It would be interesting to see how well we
>> >>have been holding to the historical ideal.
>> >>
>> >>It would then be intersting to use Sasha's analysis to see whether
>> >>there are more bug fixes caused by regression fixes versus normal bug
>> >>fixes, and whether or not they are common when fixes come "out of
>> >>cycle" --- for example, a non-regression bug fix in -rc5 or -rc6.
>> >>
>> >>Because if that last is the case, then the prescription is very simple
>> >>and not controversial --- bug fixes found post -rc4 should be held to
>> >>the next merge window.
>> >>
>> >
>> >Holding up even fixes for severe bugs for 4-6 weeks ? Seriously, that is
>> >unrealistic. Holding up the fix for the next SpeckHammer because it was not
>> >ready before -rc4 ? I don't think so.
>>
>> For severe problems, the patch usually gets more than enough reviews and
>> testing, so I don't see a need to soak it in -next more than some
>> minimal amount of time to get bot coverage.
>>
>> However, these things show up only a few times per year. Most of the
>> fixes even in late -rc cycles are for older bugs that aren't too
>> critical. We can't base our decision on severe bugs that get exceptional
>> treatment anyways (see PTI getting pushed in -stable).
>>
>> >Even when not counting severe problems, you are adding lots of additional work
>> >for those who do and want to rely on stable releases to merge in bug fixes.
>> >Sure, I am at times annoyed having to deal with a regression in a stable
>> >release, but it very much beats digging through various mailing lists for
>> >pending patches to fix CVEs, or for crashes seen in the field, just because
>> >they are held hostage by some restrictive process. Even worse, I'd end up
>> >picking the regressions anyway because I can _not_ wait those 4-6 weeks
>> >plus the time it takes for the fixes to show up in a stable release.
>>
>> I think that for -stable we don't have a good idea how soon we want to
>> merge patches in. On one hand enterprise distro folks complain we're
>> jumping the gun, and on the other hand folks like yourself claim we're
>> too slow :)
>>
>
>You are misquoting me. I am saying that it would be a bad idea to hold up
>bug fixes after -rc4, which is quite different to saying that patches
>don't make it into stable releases fast enough. I am perfectly happy to
>wait a week or so for a patch to soak in _mainline_ before being applied
>to stable.
Most bug fixes that go in at that point are fixes for previous released
kernels, what's the harm in keeping them around for longer?
I'm not saying that it should be some arbitrary rule for everyone, but
just suggesting that maintainers should exercise more caution merging
untested commits that don't even fix a current regression.
w.r.t stable, as you just said, you're fine with a week or two, the
enterprise folks (as well as Ted, to some extend, in this thread)
suggest that this should be a month+
>I am absolutely _not_ happy with the number of patches making it into
>-stable releases recently. I am especially very concerned that the current
>flurry of patches queued for -stable will destabilize pretty much all
>stable releases, and pretty badly, for that matter. I am seriously
>contemplating not to integrate the next few stable releases into ChromeOS
>for that very reason. That would be a different discussion, though.
For AUTOSEL, I'd be happy to learn of issues you encounter and address
them in my process.
I've been submitting automatically selected patches for over a year now
and the track record for regressions is on par with patches that are
tagged for stable.
next prev parent reply other threads:[~2018-05-03 16:02 UTC|newest]
Thread overview: 145+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-01 16:38 Sasha Levin
2018-05-01 19:44 ` Theodore Y. Ts'o
2018-05-01 20:00 ` Sasha Levin
2018-05-01 20:48 ` Willy Tarreau
2018-05-01 20:42 ` Sasha Levin
2018-05-01 20:54 ` Theodore Y. Ts'o
2018-05-01 21:15 ` Mark Brown
2018-05-02 8:11 ` Daniel Vetter
2018-05-02 19:46 ` Sasha Levin
2018-05-03 2:05 ` Mark Brown
2018-05-03 3:10 ` Theodore Y. Ts'o
2018-05-03 3:52 ` Guenter Roeck
2018-05-03 12:03 ` Greg KH
2018-05-03 22:42 ` Mark Brown
2018-05-03 23:09 ` Tony Lindgren
2018-05-04 14:21 ` Ulf Hansson
2018-05-09 8:44 ` Mark Brown
2018-05-09 8:47 ` Daniel Vetter
2018-05-09 8:51 ` Geert Uytterhoeven
2018-05-09 9:03 ` Mark Brown
2018-05-09 10:47 ` Stephen Rothwell
2018-05-09 10:55 ` Vinod Koul
2018-05-09 12:43 ` Stephen Rothwell
2018-05-09 12:47 ` Vinod Koul
2018-05-15 10:42 ` Krzysztof Kozlowski
2018-05-15 11:54 ` Stephen Rothwell
2018-05-09 14:05 ` Mark Brown
2018-05-09 22:09 ` Stephen Rothwell
2018-05-10 13:36 ` Mark Brown
2018-05-10 22:01 ` Stephen Rothwell
2018-05-09 15:57 ` Guenter Roeck
2018-05-09 21:45 ` Stephen Rothwell
2018-05-09 16:04 ` Dan Williams
2018-05-09 21:51 ` Stephen Rothwell
2018-05-09 19:35 ` Boris Brezillon
2018-05-09 21:58 ` Stephen Rothwell
2018-05-10 3:15 ` Sasha Levin
2018-05-10 15:57 ` Tony Lindgren
2018-05-10 22:05 ` Stephen Rothwell
2018-05-11 8:49 ` David Sterba
2018-05-12 4:03 ` Stephen Rothwell
2018-05-12 4:38 ` Stephen Rothwell
2018-05-12 18:34 ` Guenter Roeck
2018-05-13 13:53 ` Andy Shevchenko
2018-05-14 8:36 ` Ulf Hansson
2018-05-14 21:45 ` Stephen Rothwell
2018-05-17 5:10 ` Mark Brown
2018-05-10 16:03 ` Jiri Kosina
2018-05-10 16:47 ` Sasha Levin
2018-05-14 7:53 ` Geert Uytterhoeven
2018-05-14 8:00 ` Geert Uytterhoeven
2018-05-14 8:12 ` Boris Brezillon
2018-05-14 8:29 ` Geert Uytterhoeven
2018-05-14 8:34 ` Boris Brezillon
2018-05-14 8:40 ` Geert Uytterhoeven
2018-05-14 8:48 ` Boris Brezillon
2018-05-14 9:25 ` Fengguang Wu
2018-05-11 2:10 ` Mark Brown
2018-05-08 2:34 ` Sasha Levin
2018-05-08 3:48 ` Theodore Y. Ts'o
2018-05-08 14:49 ` Tony Lindgren
2018-05-09 8:13 ` Mark Brown
2018-05-10 15:36 ` Tony Lindgren
2018-05-08 20:29 ` Sasha Levin
2018-05-08 20:40 ` Matthew Wilcox
2018-05-08 20:55 ` Sasha Levin
2018-05-08 21:06 ` David Lang
2018-05-08 21:43 ` Sasha Levin
2018-05-08 21:51 ` Dan Williams
2018-05-08 22:41 ` James Bottomley
2018-05-08 21:26 ` Justin Forbes
2018-05-08 21:08 ` Ken Moffat
2018-05-09 4:47 ` Willy Tarreau
2018-05-08 13:58 ` Justin Forbes
2018-05-08 2:39 ` Sasha Levin
2018-05-01 22:02 ` Sasha Levin
2018-05-02 4:30 ` Willy Tarreau
2018-05-02 19:42 ` Sasha Levin
2018-05-02 20:02 ` Willy Tarreau
2018-07-14 17:38 ` Pavel Machek
2018-07-14 18:37 ` Guenter Roeck
2018-07-14 19:47 ` Pavel Machek
2018-07-14 20:40 ` Guenter Roeck
2018-07-14 21:09 ` Pavel Machek
2018-07-15 5:57 ` Willy Tarreau
2018-07-15 8:54 ` Greg KH
2018-07-15 14:50 ` Theodore Y. Ts'o
2018-07-15 20:15 ` Pavel Machek
2018-05-03 11:08 ` Jani Nikula
2018-05-03 14:33 ` James Bottomley
2018-05-03 14:49 ` Willy Tarreau
2018-05-03 15:06 ` Sasha Levin
2018-05-03 15:27 ` James Bottomley
2018-05-03 15:43 ` Sasha Levin
2018-05-03 17:17 ` Randy Dunlap
2018-05-03 17:39 ` Sasha Levin
2018-05-03 18:10 ` James Bottomley
2018-05-03 15:57 ` Willy Tarreau
2018-05-03 18:58 ` Theodore Y. Ts'o
2018-05-01 23:28 ` Stephen Rothwell
2018-05-01 23:10 ` Stephen Rothwell
2018-05-02 15:32 ` Geert Uytterhoeven
2018-05-02 19:51 ` Sasha Levin
2018-05-02 20:41 ` Geert Uytterhoeven
2018-05-03 0:06 ` Theodore Y. Ts'o
2018-05-03 0:38 ` Guenter Roeck
2018-05-03 2:30 ` Willy Tarreau
2018-05-03 14:55 ` Sasha Levin
2018-05-03 15:49 ` Guenter Roeck
2018-05-03 16:02 ` Sasha Levin [this message]
2018-05-03 16:50 ` Justin Forbes
2018-05-03 17:09 ` Guenter Roeck
2018-05-03 11:48 ` Al Viro
2018-05-03 14:46 ` Sasha Levin
2018-05-03 14:52 ` Willy Tarreau
2018-05-03 15:01 ` Sasha Levin
2018-05-03 16:01 ` Willy Tarreau
2018-05-03 16:15 ` Sasha Levin
2018-05-03 16:35 ` Willy Tarreau
2018-05-03 17:29 ` Sasha Levin
2018-05-03 17:57 ` Willy Tarreau
2018-05-03 18:12 ` Sasha Levin
2018-05-03 18:46 ` Guenter Roeck
2018-05-03 19:03 ` Willy Tarreau
2018-05-03 16:54 ` Al Viro
2018-05-03 17:34 ` Sasha Levin
2018-05-03 18:20 ` Al Viro
2018-05-03 18:55 ` Greg KH
2018-05-03 19:14 ` Willy Tarreau
2018-05-03 19:17 ` Sasha Levin
2018-05-03 19:04 ` Sasha Levin
2018-05-04 9:57 ` David Howells
2018-05-04 12:31 ` Jani Nikula
2018-05-04 13:09 ` Theodore Y. Ts'o
2018-05-04 17:40 ` Greg KH
2018-05-04 21:13 ` Theodore Y. Ts'o
2018-05-04 21:38 ` James Bottomley
2018-05-04 21:51 ` Sasha Levin
2018-05-04 23:35 ` Theodore Y. Ts'o
2018-05-05 4:24 ` Willy Tarreau
2018-05-05 5:02 ` Eric W. Biederman
2018-05-05 16:37 ` Greg KH
2018-05-05 5:27 ` Sasha Levin
2018-05-03 11:43 ` Al Viro
2018-05-02 15:32 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180503160210.GO18390@sasha-vm \
--to=alexander.levin@microsoft.com \
--cc=gregkh@linuxfoundation.org \
--cc=ksummit-discuss@lists.linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=w@1wt.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox