public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Andreas Dilger <adilger@clusterfs.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Header files and the kernel ABI
Date: Thu, 25 Jul 2002 09:30:21 -0700	[thread overview]
Message-ID: <3D40279D.6030206@zytor.com> (raw)
In-Reply-To: 20020725073221.GP574@clusterfs.com

Andreas Dilger wrote:
> 
> That brings up the question - how do you tie a particular
> <linux/abi/*.h> to a particular kernel?  Should there be a bunch of
> directories <linux/abi-2.4/*.h> and/or <linux/abi-2.4.12/*.h> and/or
> <linux/abi-`uname -r`/*.h> or what?  While there are efforts to keep
> the ABI constant for major stable releases, this is not always true,
> so abi-2.4 will certainly not be enough.  Maybe linux/abi is a symlink
> to the abi directory of currently running kernel?
> 

Well... I guess that depends on what kind of changes we make.  In 
general, I belive linux/abi should be cumulative, i.e. it should 
describe "sys_stat" as well as "sys_oldstat" or whatever it is called. 
ABI changes are hard to deal with regardless; you never really know what 
you're breaking, and you probably have to deal with it on a case-by-case 
basis.  People should at least understand that they're breaking the ABI, 
which I'm not sure they currently are.

In general I believe linux/abi should come from the current kernel, but 
for obvious reasons that doesn't mean it's the kernel that's running 
when the application is actually being executed.  This sort of things 
apply to all ABI changes, inherently, which is why 
non-backwards-compatible ABI changes must be avoided.  Ultimately, 
though, it's up to the person who changes it to do the appropriate thing.

	-hpa




  parent reply	other threads:[~2002-07-25 16:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-25  6:28 Header files and the kernel ABI H. Peter Anvin
2002-07-25  6:51 ` Andreas Dilger
2002-07-25  7:07   ` H. Peter Anvin
2002-07-25  7:32     ` Andreas Dilger
2002-07-25 16:29       ` Oliver Xymoron
2002-07-25 16:31         ` H. Peter Anvin
2002-07-25 18:19           ` Erik Andersen
2002-07-25 20:03             ` Oliver Xymoron
2002-07-27 11:29               ` Eric W. Biederman
2002-07-25 16:30       ` H. Peter Anvin [this message]
2002-07-25  8:00 ` DervishD
2002-07-25 13:08 ` Brad Hards
2002-07-25 16:09   ` DervishD
2002-07-25 16:17   ` H. Peter Anvin
2002-07-25 18:22     ` Erik Andersen
2002-07-31 21:37 ` Kernel ABI BoF at Linux-Kongress? [was: Header files and the kernel ABI] Brad Hards
  -- strict thread matches above, loose matches on Subject: below --
2002-07-25 21:13 Header files and the kernel ABI dank
2002-07-26  2:37 ` jw schultz

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=3D40279D.6030206@zytor.com \
    --to=hpa@zytor.com \
    --cc=adilger@clusterfs.com \
    --cc=linux-kernel@vger.kernel.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