public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Greg KH <gregkh@suse.de>, Benjamin LaHaise <bcrl@kvack.org>,
	linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
	davej@redhat.com, perex@suse.cz,
	Kay Sievers <kay.sievers@vrfy.org>
Subject: Re: [RFC] Add kernel<->userspace ABI stability documentation
Date: Mon, 27 Feb 2006 15:45:25 -0800	[thread overview]
Message-ID: <20060227234525.GA21694@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0602271216340.22647@g5.osdl.org>

On Mon, Feb 27, 2006 at 12:20:49PM -0800, Linus Torvalds wrote:
> 
> 
> On Mon, 27 Feb 2006, Greg KH wrote:
> 
> > On Mon, Feb 27, 2006 at 02:36:54PM -0500, Benjamin LaHaise wrote:
> > > On Mon, Feb 27, 2006 at 11:01:50AM -0800, Greg KH wrote:
> > > > --- /dev/null
> > > > +++ gregkh-2.6/Documentation/ABI/private/alsa
> > > > @@ -0,0 +1,8 @@
> > > > +What:		Kernel Sound interface
> > > > +Date:		Feburary 2006
> > > > +Who:		Jaroslav Kysela <perex@suse.cz>
> > > > +Description:
> > > > +		The use of the kernel sound interface must be done
> > > > +		through the ALSA library.  For more details on this,
> > > > +		please see http://www.alsa-project.org/ and contact
> > > > +		<alsa-devel@alsa-project.org>
> > > 
> > > How can something as widely used as sound not work from one kernel version 
> > > to the next, as seems to be implied with the "private" nature of the ABI?  
> > > This is a total cop-out and is IMHO very amateur of the developers.  If 
> > > something like this is to be the case, at the very least the alsa libraries 
> > > need to provide a stable ABI and be shipped with the kernel.
> > 
> > Then I suggest you work with the ALSA developers to come up with such a
> > "stable" api that never changes.  They have been working at this for a
> > number of years, if it was a "simple" problem, it would have been done
> > already...
> 
> I really don't much like the "private" and "unstable" subdirectories.
> 
> They seem to be just excuses for bad habits. And the notion of a "private" 
> interface is insane anyway, since it doesn't matter - the only thing that 
> matters is whether it breaks existing binaries or not, and being "private" 
> in no way makes any difference to that. If you need to compile or link 
> against a new library, it's broken - whether it was "private" or not makes 
> no difference.

Ok, I don't mind the name change from something different than
"private".  I was looking for something to call the interface between
the user and kernel that almost all userspace programs should be using
the library instead of the "raw" kernel interface.  ALSA and netlink are
two examples of this, and I'm sure there's others.

We will probably have more of these in the future, and if they need to
move their "library" into the kernel tree, that's fine too.

> The ALSA development model is in my opinion pretty broken (the development 
> seems to try to be pretty closed-up), but it's (a) gotten better and (b) 
> the alsa people do not seem to be breaking old binaries and libraries very 
> much. At least I don't remember seeing all that many problems lately.

Yes, ALSA has gotten a lot better.  But what about the next project that
comes along that has the same kind of binding and it takes a year or so
to figure out the way that the interface should work as no one has ever
done that kind of interface before?  For the majority of things that
people have been complaining about, this has never been done by any
operating system before, the others don't have these problems as they
don't even try :)

> So I just don't see any upsides to documenting anything private or 
> unstable. I see only downsides: it's an excuse to hide behind for 
> developers.

So should we just not even document anything we consider "unstable"?
The first trys at things are usually really wrong, and that only can be
detected after we've tried it out for a while and have a few serious
users.  Should we brand anything new as "testing" if the developer feels
it is ready to go?

thanks,

greg k-h

  parent reply	other threads:[~2006-02-27 23:45 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-27 19:01 [RFC] Add kernel<->userspace ABI stability documentation Greg KH
2006-02-27 19:08 ` Arjan van de Ven
2006-02-27 19:11   ` Greg KH
2006-02-27 19:17     ` Arjan van de Ven
2006-02-27 19:22 ` Kumar Gala
2006-02-27 19:30   ` Greg KH
2006-02-27 19:31 ` Andi Kleen
2006-02-27 19:44   ` Greg KH
2006-03-01 13:53     ` Lars Marowsky-Bree
2006-03-01 14:10       ` Gabor Gombas
2006-03-01 14:35         ` Jes Sorensen
2006-03-01 16:30         ` Lars Marowsky-Bree
2006-02-27 20:06   ` Jesper Juhl
2006-02-27 19:35 ` Diego Calleja
2006-02-27 19:49   ` Greg KH
2006-02-27 19:57     ` Diego Calleja
2006-02-27 20:00       ` Greg KH
2006-02-27 20:13         ` Diego Calleja
2006-02-28  0:26           ` Greg KH
2006-02-27 19:36 ` Benjamin LaHaise
2006-02-27 19:46   ` Greg KH
2006-02-27 20:01     ` Benjamin LaHaise
2006-02-27 20:13       ` Greg KH
2006-02-27 20:22         ` John W. Linville
2006-02-27 22:00           ` Greg KH
2006-02-27 20:10     ` Arjan van de Ven
2006-02-27 22:58       ` Olivier Galibert
2006-02-27 20:20     ` Linus Torvalds
2006-02-27 21:04       ` Al Viro
2006-02-27 23:33         ` Nicholas Miell
2006-02-27 23:45       ` Greg KH [this message]
2006-02-28  1:52         ` Jason Lunz
2006-02-28  6:32         ` Theodore Ts'o
2006-02-28  6:41           ` Dave Jones
2006-03-01  0:34           ` Greg KH
2006-03-01  1:17             ` Nicholas Miell
2006-03-02  4:24               ` Greg KH
2006-03-05 16:17                 ` Eric W. Biederman
2006-03-05 23:23                   ` Benjamin LaHaise
2006-03-06  0:12                     ` Eric W. Biederman
2006-03-06  0:39                       ` Benjamin LaHaise
2006-03-06  2:15                         ` Eric W. Biederman
2006-03-07  3:56                           ` Greg KH
2006-02-27 19:52 ` Alistair John Strachan
2006-02-27 19:57   ` Greg KH
2006-02-27 20:05     ` Alistair John Strachan
2006-02-27 20:12       ` Greg KH
2006-02-27 20:15         ` Greg KH
2006-02-27 22:56           ` Olivier Galibert
2006-02-28  0:11             ` Greg KH
2006-02-27 20:01 ` Jesper Juhl
2006-03-01  0:21   ` Greg KH
2006-02-28 11:39 ` Nikita Danilov
2006-03-01  0:23   ` Greg KH
2006-03-01  7:27     ` Arjan van de Ven
2006-03-01 20:56       ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2006-03-07 14:44 Al Boldi
2006-03-07 15:21 ` Josh Boyer

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=20060227234525.GA21694@suse.de \
    --to=greg@kroah.com \
    --cc=akpm@osdl.org \
    --cc=bcrl@kvack.org \
    --cc=davej@redhat.com \
    --cc=gregkh@suse.de \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    --cc=torvalds@osdl.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