All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>,
	David Vrabel <david.vrabel@citrix.com>,
	"ksummit-discuss@lists.linuxfoundation.org"
	<ksummit-discuss@lists.linuxfoundation.org>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: [Ksummit-discuss] Topic: Removal of code that is still in use by users but there is a better code.
Date: Thu, 12 Jun 2014 18:36:05 -0700	[thread overview]
Message-ID: <1402623365.2523.167.camel@dabdike.int.hansenpartnership.com> (raw)
In-Reply-To: <20140612132756.GA4073@tuxdriver.com>

On Thu, 2014-06-12 at 09:27 -0400, John W. Linville wrote:
> On Wed, Jun 11, 2014 at 03:36:01PM -0700, James Bottomley wrote:
> > On Wed, 2014-06-11 at 15:26 -0700, Roland Dreier wrote:
> > > On Wed, Jun 11, 2014 at 3:17 PM, James Bottomley
> > > <James.Bottomley@hansenpartnership.com> wrote:
> > > > This would eventually become like CONFIG_EXPERIMENTAL before somebody
> > > > put it out of its misery: a pointless thing which everybody enables.
> > > 
> > > Probably so.
> > > 
> > > > Could we just step back and ask what the burning need to do this (at
> > > > least for drivers; I understand the ABI deprecation headache) is?  Most
> > > > driver code for obsolete things harmlessly compiles; why bother trying
> > > > to hunt them down and shoot them when they're not really causing
> > > > offence?
> > > 
> > > Every time a developer wants to change a core API, that developer
> > > needs to patch every driver that uses the API.  Every old, unused,
> > > bitrotten driver we have in the tree is 100% wasted work, and often a
> > > substantial amount of work because it's really hard even to understand
> > > how those drivers are (mis)using the API being changed.
> > 
> > Well how often do we do that?  It's not like it's the most common
> > activity.
> 
> I think it happens often enough to be a valid concern.  There are
> definitely wireless drivers (some which predate my tenure), that
> still compile but which I strongly doubt are functional or used.
> I've pushed some out of the tree from time to time, and I'll probably
> continue to do so.  But in the meantime, it can be difficult to judge
> what is used or not and what simply doesn't work because of a series
> of subtle mistakes in patch bombs...

So the solution to this is to put the drivers into a freeze maintenance
mode where you make no changes but what is absolutely required (and you
can decide depending on the extensiveness of the required change whether
you'd rather mark the driver as BROKEN than do the API change).  It
doesn't solve the problem entirely but it means that breakage has to
come from outside rather than subtle mistakes in unnecessary patches.

James

  reply	other threads:[~2014-06-13  1:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-10 20:12 [Ksummit-discuss] Topic: Removal of code that is still in use by users but there is a better code Konrad Rzeszutek Wilk
2014-06-10 20:19 ` H. Peter Anvin
2014-06-11  0:36   ` josh
2014-06-11 15:56     ` H. Peter Anvin
2014-06-11 20:02       ` josh
2014-06-11 17:54   ` Guenter Roeck
2014-06-11 19:43     ` Bjorn Helgaas
2014-06-11 21:53       ` Stephen Rothwell
2014-06-11 22:01         ` Andy Lutomirski
2014-06-11 22:17           ` James Bottomley
2014-06-11 22:26             ` Roland Dreier
2014-06-11 22:36               ` James Bottomley
2014-06-12 11:41                 ` Rafael J. Wysocki
2014-06-12 13:27                 ` John W. Linville
2014-06-13  1:36                   ` James Bottomley [this message]
2014-06-19 13:01                 ` Linus Walleij
2014-06-11 23:22       ` Guenter Roeck
2014-06-12  2:48         ` Steven Rostedt
2014-06-12  7:16           ` Geert Uytterhoeven
2014-06-12  0:07     ` H. Peter Anvin

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=1402623365.2523.167.camel@dabdike.int.hansenpartnership.com \
    --to=james.bottomley@hansenpartnership.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=david.vrabel@citrix.com \
    --cc=konrad.wilk@oracle.com \
    --cc=ksummit-discuss@lists.linuxfoundation.org \
    --cc=linville@tuxdriver.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.