public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Franco \"Sensei\"" <senseiwa@tin.it>
To: David Lang <dlang@digitalinsight.com>
Cc: Krzysztof Halasa <khc@pm.waw.pl>, Adrian Bunk <bunk@stusta.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [INFO] Kernel strict versioning
Date: Thu, 14 Apr 2005 11:52:50 -0500	[thread overview]
Message-ID: <425E9FE2.6090102@tin.it> (raw)
In-Reply-To: <Pine.LNX.4.62.0504121053583.17233@qynat.qvtvafvgr.pbz>

[-- Attachment #1: Type: text/plain, Size: 3807 bytes --]

David Lang wrote:
> some config changes are additions, some redefine things.
> 
> you are mistakeing the .config file for a symbol table.

No I'm not confusing. As long as the .config has an influence on the 
makefiles I get different symbols names.

> for example if you compile a kernel with SMP=y you get different code 
> then if you compile with SMP=n
> 
> if you have the same kernel version on identical machines, but with the 
> SMP option different on the two different machines you cannot use the 
> same module binary on both of them.

Of course, but It's cleare that machines with SMP are different from a 
simple mono-cpu.

It's not an issue talking about smp vs. not-smp. Let's talk about a 
machine: it's useless arguing about Cray while I'm talking about a 
simple environment.

Every kernel has always the distinction about smp. So it's not a big 
problem.

> you would have an ABI for that kernel image, compiled with those 
> options, and with that compiler. if you change any of those things then 
> your modules won't work (you have a different ABI

Of course, as I stated, it's a distro's care to use the same gcc and 
same switches....

> what you are missing is that nobody has any interest in supporting a 
> kernel ABI, even within a single kernel version. there are just too many 
> advantages to changeing fundamantal things in the kernel depending on 
> the config options.

An advantage is the total freedom about the code. Ok, I know. But as 
long as the kernel grows, in size and in its use, something more should 
be considered. ABI is a step forward companies and people like me in 
handling linux easily. API and data structure stability should be 
something in mind, since breaking compatibility from 2.6.8 to 2.6.8.1 
causes big troubles to anyone who's mantaining many machines. And if you 
are in big environments, you probably use modules which are not in 
vanilla, and will never be, like OpenAFS.

Finding a bug in the kernel source and patching it, must be a careful 
step, because if I have to mantain 100 machines, and I know that 
applying the patch will result in a broken kernel modules, I'm not happy 
with it. I must go manually on each machine, apply the patch, recompile 
the modules... Makes me think about NOT applying the patch.

> I don't know why the default location for the modules, but again you are 
> assuming that you CAN have a single vmlinuz-2.6 kernel file for all 
> machines of a given arch.
> 
> you can't.

I think we can. Freedom in developing source code is not necessarily 
stealing bricks from someone's feet :)

> there are just too many config options that change the internals of the 
> kernel (locking, function call formats, CPU type optmizations, etc) for 
> you to just have one.

Source compatibility is there. Now, you're talking about issues which 
are not your buisness: a binary distribution must take care of how the 
kernel it's compiled. As long as it uses the same gcc and switches, it's ok.

Practically, if suse has kernel-2.6.A and kernel-modules-2.6.A it knows 
how they're compiled, and they work everywhere. Of course, it has also 
kernel-2.6.A-SMP and its modules.

When 2.6.B is released, using ABI will just result in another 
compilation, creating the kernel with additions and patches, and 
distributing them. Modules .A should work on .B, like I do with OpenAFS, 
Every kernel update shouldn't break the magic :)

> but 2.6.11.7 is not nessasarily binary compatable with 2.6.11.7, let 
> alone something drasticly different (say 2.6.11.6)

Sure, because it's not designed to be so.

I just see advantages on ABI, and I think it's not bad talking about it...

-- 
Sensei <mailto:senseiwa@tin.it> <pgp:8998A2DB>
        <icqnum:241572242>
        <yahoo!:sensei_sen>
        <msn-id:sensei_sen@hotmail.com>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

  reply	other threads:[~2005-04-14 16:54 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-08 18:08 [INFO] Kernel strict versioning Franco "Sensei"
2005-04-08 19:05 ` Adrian Bunk
2005-04-12  1:02   ` Franco "Sensei"
2005-04-12  1:50     ` Adrian Bunk
2005-04-12  2:54       ` Franco "Sensei"
2005-04-12 11:28         ` Krzysztof Halasa
2005-04-12 17:22           ` Franco "Sensei"
2005-04-12 18:03             ` David Lang
2005-04-14 16:52               ` Franco "Sensei" [this message]
2005-04-14 17:57                 ` David Lang
2005-04-14 19:41                   ` Franco "Sensei"
2005-04-14 19:55                     ` Arjan van de Ven
2005-04-14 22:33                       ` Franco "Sensei"
2005-04-14 23:29                     ` Al Viro
     [not found]                       ` <425F33C2.8020301@tin.it>
2005-04-15  5:02                         ` Al Viro
2005-04-14 20:01                 ` Adrian Bunk
2005-04-14 22:51                   ` Franco "Sensei"
2005-04-14 20:34                 ` Horst von Brand
2005-04-14 22:45                   ` Franco "Sensei"
2005-04-12 22:04             ` Krzysztof Halasa
2005-04-14 17:04               ` Franco "Sensei"
2005-04-12 22:43             ` Adrian Bunk
2005-04-14 17:40               ` Franco "Sensei"
2005-04-14 20:15                 ` Adrian Bunk
2005-04-14 22:26                   ` Franco "Sensei"
     [not found] <3R6fp-7Qs-15@gated-at.bofh.it>
     [not found] ` <3R71T-4S-15@gated-at.bofh.it>
     [not found]   ` <3Si4Q-Nh-21@gated-at.bofh.it>
     [not found]     ` <3SiRe-1eq-9@gated-at.bofh.it>
     [not found]       ` <3SjNh-1Yq-3@gated-at.bofh.it>
     [not found]         ` <3Ss48-qG-1@gated-at.bofh.it>
     [not found]           ` <3SxGA-5mR-29@gated-at.bofh.it>
2005-04-12 21:52             ` Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>

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=425E9FE2.6090102@tin.it \
    --to=senseiwa@tin.it \
    --cc=bunk@stusta.de \
    --cc=dlang@digitalinsight.com \
    --cc=khc@pm.waw.pl \
    --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