From: Grzegorz Kulewski <kangur@polcom.net>
To: Horst von Brand <vonbrand@inf.utfsm.cl>
Cc: Guennadi Liakhovetski <gl@dsa-ac.de>,
Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>,
linux-kernel@vger.kernel.org
Subject: Re: [somewhat OT] binary modules agaaaain
Date: Thu, 22 Apr 2004 16:13:02 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.58.0404221546110.15590@alpha.polcom.net> (raw)
In-Reply-To: <200404210224.i3L2OAHl020208@eeyore.valparaiso.cl>
On Tue, 20 Apr 2004, Horst von Brand wrote:
> Guennadi Liakhovetski <gl@dsa-ac.de> said:
> > On Tue, 20 Apr 2004, Bartlomiej Zolnierkiewicz wrote:
> > > > A binary module is "considered good" if
>
> > > This is a false assumption IMO no binary only modules can be "good".
>
> > I agree! That was just an idea to make Linux life easier __if__ it
> > __must__ live with binary modules.
>
> Then call it "tolerable", not "good". ("Barely tolerable" comes to mind,
> but might be a bit harsh...).
>
> In any case, one of the biggest advantages of Linux is that in-kernel
> interfaces aren't set in stone. They are extremely efficient because they
> are expressed in terms of access to data structures and inline functions
> and macros. The kernel is extremely flexible because it can be configured
> in hundreds of different ways. All of this is lost through a fixed
> binary-only interface to the binary blob inside the module.
Hi,
Maybe I am totally wrong, but I think that binary modules should (if they
must exists) be divided into source (better opensource) interface and
binary only part. But I think that majority of binary only drivers could
be moved to user space in the great part. Some of them for example are in
kernel only to allow to create new device and "bind" to it. The rest can
be probably moved to userspace. Yes, there is performance issue, but only
in some very rare cases: video cards and maybe something more. But modem
drivers, vlan drivers, most raid drivers, archiving and versioning
filesystem implementations, network filesystems (LUFS?), and probably more
can be removed from kernel.
So I think that there should be some kind of special user-space processes
that are userspace, have separate adress space, have some special
scheduling rules (to make them more important than normal processes) and
can interface with kernel better than normal processes (maybe they will
have more special syscalls and some kind of callback functionality...).
The interface should allow create and "bind" to device, allocate memory
region, dma, interrupt, port range, etc. This interface can be considered
unstable and change with the kernel. There should be way to allow some
process to do something and disallow to do everything else (to protect
from hidden secret code or simply broken driver). And the interface can be
not very portable but should be highly extendable by vendors to allow them
add other functionality to it (if vendor will make this functionality gpl
and if it will be good it can be included into mainline kernel). This way
vendors can cooperate with kernel developers.
What do you think?
Grzegorz Kulewski
next prev parent reply other threads:[~2004-04-22 14:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-19 15:53 Guennadi Liakhovetski
2004-04-20 8:39 ` Geert Uytterhoeven
2004-04-20 10:23 ` Guennadi Liakhovetski
2004-04-20 14:11 ` Bartlomiej Zolnierkiewicz
2004-04-20 15:08 ` Guennadi Liakhovetski
2004-04-21 2:24 ` Horst von Brand
2004-04-22 14:13 ` Grzegorz Kulewski [this message]
2004-04-23 11:28 ` Andrew McGregor
2004-04-23 12:29 ` Richard B. Johnson
2004-04-24 2:29 ` Andrew McGregor
2004-04-22 16:19 ` Charles Shannon Hendrix
2004-04-22 18:55 ` Bartlomiej Zolnierkiewicz
[not found] <1MJlZ-4mT-47@gated-at.bofh.it>
2004-04-24 10:03 ` Ihar 'Philips' Filipau
2004-04-24 20:00 ` Guennadi Liakhovetski
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=Pine.LNX.4.58.0404221546110.15590@alpha.polcom.net \
--to=kangur@polcom.net \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=gl@dsa-ac.de \
--cc=linux-kernel@vger.kernel.org \
--cc=vonbrand@inf.utfsm.cl \
/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
all inboxes | Powered by JetHome®