From: "Paweł Sikora" <pluto@agmk.net>
To: linux-kernel@vger.kernel.org
Subject: [kernel-abi] symbol versioning vs. out-of-tree modules.
Date: Wed, 24 Sep 2008 17:07:59 +0200 [thread overview]
Message-ID: <Y165ES5i.1222268879.9618400.pluto@agmk.net> (raw)
Hi All,
with out-of-tree kernel modules we (users and linux distributions)
have a problem - with every frequent kernel release we need
to rebuild them all due to vermagic and possible abi changes.
this leads to lot of useless work (bumping rpm specs releases,
preparing rpm packages and so on).
naturally we could workaround the modprobe vermagic errors
but we currently can't detect the big-bang kernel abi changes.
e.g., some kernel function changes its parameter list while
the exported function(symbol) name still staying unchanged.
finally we get a modprobe-big-bang.
in fact, we can't use a c++ symbol name mangling to avoid
such problems but kernel build system could use a linker script
to versioning symbols (like glibc/libgcc). during the abi change,
kernel developers could just bump the symbol version and
external modules could be refused during loading with
'unresolved symbol' error which is imho much better solution
that an oops.
is it acceptable and possible to introducing such solution?
thanks for comments.
BR,
pawel.
next reply other threads:[~2008-09-24 15:08 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-24 15:07 Paweł Sikora [this message]
2008-09-24 16:34 ` Christoph Hellwig
2008-09-26 9:50 ` Tilman Schmidt
2008-09-24 19:36 ` Alexey Dobriyan
2008-09-24 21:05 ` Arjan van de Ven
2008-09-25 2:48 ` Greg KH
2008-09-25 6:29 ` Paweł Sikora
2008-09-25 7:49 ` Sitsofe Wheeler
2008-09-25 8:26 ` Sitsofe Wheeler
2008-09-25 8:52 ` el es
2008-09-25 12:54 ` Greg KH
2008-09-25 13:48 ` Paweł Sikora
2008-09-25 13:54 ` Greg KH
2008-09-26 11:25 ` Tilman Schmidt
2008-09-26 15:36 ` Greg KH
2008-09-26 17:19 ` Arkadiusz Miskiewicz
2008-09-26 20:09 ` Greg KH
2008-09-29 6:51 Alan Young
2008-09-29 15:42 ` Greg KH
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=Y165ES5i.1222268879.9618400.pluto@agmk.net \
--to=pluto@agmk.net \
--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
Powered by JetHome