Re: Can we move device drivers into user-space?

From: Greg KH
Date: Fri Feb 24 2012 - 14:33:08 EST


On Fri, Feb 24, 2012 at 08:15:35PM +0100, Henrik Rydberg wrote:
> > > Given the choice, I would be quite happy to piss off some robots. Call
> > > it a prejudice if you like ;).
> >
> > You can't control how people use an interface. You will note that there
> > are no stupid users of the UIO interface in the kernel today, we can't
> > control what people do in the privacy of their own companies/homes,
> > despite numerous governments trying to do so in the past.
> >
> > So yes, people will always do stupid, foolish things. And they were
> > doing them before UIO came along, now they just have the chance to at
> > least do those foolish things in a way that interfaces with the kernel
> > in a semi-sane manner, not messing anything else in the kernel up.
>
> So the question is; can the uio example be repeated in other areas, to
> bring more kernel power to userspace?

What exactly do you mean by "more kernel power"? You can write
userspace char drivers, filesystems, usb drivers, usb gadget drivers,
and lots of other things today with the interfaces we provide from the
kernel.

And even better yet, please show what you mean with patches.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/