linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Felipe Contreras <felipe.contreras@gmail.com>
Cc: Adrian Chadd <adrian@freebsd.org>,
	Greg KH <gregkh@linuxfoundation.org>,
	Sergio Correia <lists@uece.net>,
	linux-kernel@vger.kernel.org, stable@vger.kernel.org,
	torvalds@linux-foundation.org, akpm@linux-foundation.org,
	alan@lxorguk.ukuu.org.uk,
	linux-wireless Mailing List <linux-wireless@vger.kernel.org>,
	Sujith Manoharan <c_manoha@qca.qualcomm.com>,
	"ath9k-devel@lists.ath9k.org" <ath9k-devel@venema.h4ckr.net>,
	"John W. Linville" <linville@tuxdriver.com>
Subject: Re: [ 00/78] 3.3.2-stable review
Date: Sat, 14 Apr 2012 23:21:24 +0200	[thread overview]
Message-ID: <20120414232124.1ffd7ac9@stein> (raw)
In-Reply-To: <CAMP44s0ngzwkbQapTip=oW1b5m2uO5zCzbXHVqHXwT2+Wpgo_A@mail.gmail.com>

On Apr 14 Felipe Contreras wrote:
> On Sat, Apr 14, 2012 at 8:55 PM, Stefan Richter
> <stefanr@s5r6.in-berlin.de> wrote:
> > Generally, "commit + push out" makes it undroppable.  In case of -stable,
> > commit/ push out/ tag are close and virtually identical.
> >
> > After a change was pushed out, the choice narrows down to add a reverting
> > change for a subsequent release or to rebase to a point before the
> > defective commit.  The latter is not done to -stable, obviously.  (3.3.2
> > is not being restarted from 3.3 if a regression from 3.3 to 3.3.1 was
> > discovered.)
> 
> That's irrelevant; whether you rebase and drop the patch, or you
> revert it, the resulting code is *exactly* the same. It's also the
> same if Greg drops it from his quilt queue before pushing (assuming
> that's what he uses).

The result may be the same (sometimes it actually isn't), but the way to
get there is not.

> Let's avoid this semantic red herring, by undroppable I mean
> unrevertable, or undiscardable, or anything that effectively makes the
> patch not be there.

How do you "make it not be there"?  By adding a reverting patch.

The reverting patch needs to come from somewhere, and the only
disagreement is basically through which channels the patch should be
allowed to come, or which qualifications this reverting patch should
fulfill.

> >> But *why*? You say you *really* need to problem to fixed in mainline,
> >> that's why it cannot be dropped, but that applies also to patches in
> >> the queue *before* the tag is made, doesn't it? If you find a patch in
> >> the stable review queue causes problems, why don't you leave it there?
> >
> > As Willy wrote, that's actually what is done sometimes.  I didn't know
> > that.
> 
> Don't avoid the question.

Willy answered that, hence I didn't think I have to.  The patch can in
fact be kept in the stable queue as a reminder, it just should not be
applied to stable as long as there is no resolution for mainline.

> I don't mean just leave it in the queue, I mean leave it so it gets
> tagged in the release.

That would be even sillier than the discussion which we are having.

> >> You *really* need to problem fixed in mainline, don't you?
> >>
> >> So yesterday the priority is stability > 'upstream first', but today
> >> it's 'upstream first' > stability. Nobody has put forward an argument
> >> for this shift in priorities--
> >
> > Yesterday, folks cared about mainline too.
> 
> Who suggested otherwise? Being priority #2 doesn't mean you don't
> care. We always care about mainline, even for patches that are not
> proposed for 'stable'.
> 
> But if we found yesterday that the patch would break things, it would
> not make it to the stable release.
> 
> You are again avoiding the argument.

The priorities argument is bogus.  The procedure of receiving stable
patches only as backports from mainline is exactly about stabilization,
nothing else.

[...]
> > if a defective change was not dropped but released, and now requires
> > a fix (e.g. revert) "today:  There are now /two/ bugs:  In the mainline
> > and in a stable kernel.
> 
> What?! So, if an issue has been in the kernel for the last 10 years,
> and it's just fixed, that means we suddenly have hundreds of bugs?

You would have fixed hundreds of bugs if you released fixes into hundreds
of kernel branches.

> You are playing with words; it's *one* bug that is present in multiple releases.

Count it as a single bug if you prefer.  The fact is, the bugs or bug
needs fixes in each affected maintained kernel branch.  So even if you
count one bug, there are still more than one bug resolutions to be done.

> e) if it gets into Greg's stable queue; it's still *one* bug
> f) and if it gets into v3.4.1; it's still *one* bug.
[...]
> By saying it's "two bugs", you are still avoiding the question of why
> they are different. *Why* are they two bugs? What is so different
> between e) and f)

e) requires a fix to be published in the mainline.  f) requires a fix to
be published in the mainline and another fix to be published in stable.

> that makes bad patches undroppable?

f) makes stable require a reverting patch.

> I appreciate you are exploring this discussion, but I wonder if you
> accept the possibility that there's actually no good reason for this
> change in priorities, or if you accept that even a change in
> priorities is taking place.

Stabilization is the only priority.  There is nothing else.

I stated one reason for the procedure in case of f):

Fixing mainline first and then backporting to stable is always easier and
safer than fixing stable first and only then start to think about how
mainline can be fixed.  I and others also explained a bit more why it is
easier and safer.

I realise that this is not a good enough reason in your opinion, at least
as far as revert-type fixes are concerned.  Some of the folks who are
unfortunate enough to be Cc'd on this discussion have quite a bit of
experience with varying kernel maintenance models though, so I find their
opinions in these matters well worth thinking about.
-- 
Stefan Richter
-=====-===-- -=-- -===-
http://arcgraph.de/sr/

  reply	other threads:[~2012-04-14 21:22 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20120411231102.GA6404@kroah.com>
2012-04-11 23:59 ` [ 00/78] 3.3.2-stable review Sergio Correia
2012-04-12  0:29   ` Greg KH
2012-04-12  0:57     ` Sergio Correia
2012-04-12  1:03     ` Felipe Contreras
2012-04-12  1:13       ` Greg KH
2012-04-12 13:32         ` Felipe Contreras
2012-04-12 14:46           ` Greg KH
2012-04-12 16:49             ` Felipe Contreras
2012-04-12 17:24               ` Adrian Chadd
2012-04-12 18:43                 ` Felipe Contreras
2012-04-12 18:56                   ` Jonathan Nieder
2012-04-12 21:34                     ` Felipe Contreras
2012-04-12 21:43                       ` Willy Tarreau
2012-04-12 20:07                   ` Greg KH
2012-04-12 20:52                     ` Sven-Haegar Koch
2012-04-13  8:57                   ` Stefan Richter
2012-04-13 10:29                     ` Felipe Contreras
2012-04-13 13:42                       ` Stefan Richter
2012-04-13 14:01                         ` Stefan Richter
2012-04-13 22:38                         ` Felipe Contreras
2012-04-13 23:05                           ` Jonathan Nieder
2012-04-13 23:18                             ` Felipe Contreras
2012-04-14  5:44                               ` Willy Tarreau
2012-04-14 15:43                                 ` Felipe Contreras
2012-04-14 16:02                                   ` Willy Tarreau
2012-04-14  9:10                               ` Stefan Richter
2012-04-14 15:52                                 ` Felipe Contreras
2012-04-14 18:08                                   ` Stefan Richter
2012-04-14  7:41                           ` Stefan Richter
2012-04-14 15:29                             ` Felipe Contreras
2012-04-14 15:57                               ` Willy Tarreau
2012-04-14 19:33                                 ` Felipe Contreras
2012-04-14 19:58                                   ` Willy Tarreau
2012-04-14 17:55                               ` Stefan Richter
2012-04-14 19:21                                 ` Felipe Contreras
2012-04-14 21:21                                   ` Stefan Richter [this message]
2012-04-14 22:09                                     ` Felipe Contreras
2012-04-14 22:47                                       ` Stefan Richter
2012-04-14 22:56                                         ` Felipe Contreras
2012-04-14 23:06                                           ` Adrian Chadd
2012-04-13 19:08                       ` [ath9k-devel] " Peter Stuge
2012-04-13 22:53                         ` Felipe Contreras
2012-04-14  6:01                           ` Willy Tarreau
2012-04-16 16:27                           ` Greg KH
2012-04-16 20:11                             ` Felipe Contreras
2012-04-16 20:58                               ` Greg KH
2012-04-16 21:18                                 ` Felipe Contreras
2012-04-16 21:27                                   ` Greg KH
2012-04-16 21:44                                     ` Felipe Contreras
2012-04-16 22:34                                       ` Peter Stuge
2012-04-17  5:24                                       ` Willy Tarreau
2012-04-16 21:50                                     ` Felipe Contreras
2012-04-16 21:54                                       ` Don deJuan
2012-04-16 22:02                                       ` Don deJuan
2012-04-16 21:39                                   ` Don deJuan
2012-04-12 18:40               ` Willy Tarreau
2012-04-12 19:05               ` Linus Torvalds
2012-04-12 21:20                 ` Felipe Contreras
2012-04-12 21:34                   ` Linus Torvalds
2012-04-12 21:44                     ` Linus Torvalds
2012-04-12 22:02                       ` [ath9k-devel] " Luis R. Rodriguez
2012-04-12 22:04                     ` Felipe Contreras
2012-04-12 22:07                       ` Linus Torvalds
2012-04-12 22:29                         ` Felipe Contreras
2012-04-14 10:47                           ` Ingo Molnar
2012-04-14 15:59                             ` Felipe Contreras
2012-04-15  6:51                               ` Ingo Molnar
2012-04-15 17:15                                 ` Felipe Contreras
2012-04-15 17:29                                   ` Willy Tarreau
2012-04-15 17:49                                   ` Linus Torvalds
2012-04-15 22:12                                     ` Felipe Contreras
2012-04-16  5:32                                       ` Ingo Molnar
2012-04-16 20:25                                         ` Felipe Contreras
2012-04-16 21:08                                           ` Arend van Spriel
2012-04-16  5:39                                       ` Willy Tarreau
2012-04-16  6:38                                         ` Ingo Molnar
2012-04-12 22:12                       ` David Miller
2012-04-12 22:58                         ` Felipe Contreras
2012-04-13  5:34                           ` Willy Tarreau
2012-04-13 10:04                             ` Felipe Contreras
2012-04-12 21:39                   ` Willy Tarreau
2012-04-12 22:02                   ` Jesper Juhl
2012-04-12 19:57     ` Alexander Holler
2012-04-12 20:06       ` Greg KH
2012-04-12 20:30         ` Alexander Holler
2012-04-12 22:31           ` Greg KH
2012-04-12  4:16   ` Heinz Diehl

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=20120414232124.1ffd7ac9@stein \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=adrian@freebsd.org \
    --cc=akpm@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=ath9k-devel@venema.h4ckr.net \
    --cc=c_manoha@qca.qualcomm.com \
    --cc=felipe.contreras@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=lists@uece.net \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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;
as well as URLs for NNTP newsgroup(s).