Re: Honest does not pay here ...

Pavel Machek (pavel@ucw.cz)
Fri, 10 Jan 2003 15:30:18 +0100


Hi!

> > In very semplicistic words:
> > In 2.5/2.6 kernels, non GPL modules have a big
> > penalty, because they cannot create their own queue, but have to use a default
> > one.
>
> I may be showing my ignorance here (won't be the first time) but this makes
> me wonder if Linux could provide a way to do "user level drivers". I.e.,
> drivers which ran in kernel mode but in the context of a process and had
> to talk to the real kernel via pipes or whatever. It's a fair amount of
> plumbing but could have the advantage of being a more stable interface
> for the drivers.

You don't need kernel mode to touch hw.

> If you think about it, drivers are more or less open/close/read/write/ioctl.
> They need kernel privileges to do their thing but don't need (and shouldn't
> have) access to all the guts of the kernel.
>
> Can any well traveled driver people see this working or is it nuts?

Well, nbd was originally created just for that.

Pavel

-- 
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/