Re: User mode drivers (Honest does not pay here ...)

Dmitry A. Fedorov (D.A.Fedorov@inp.nsk.su)
Wed, 8 Jan 2003 12:17:43 +0600


On Tue, 7 Jan 2003, Pete Zaitcev wrote:

> > 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".
>
> It is a question often asked in comp.os.linux.development.system.
> If performance penalties and security problems are no obstacle,

Perfomance is slightly higher since there are no extra switching to
kernel and back to user space and parameters passing.

> a lot of hardware can be serviced with a user mode driver, except
> one that requires interrupts to operate. There is no way to deliver
> an interrupt safely to the user mode, because a device specific
> deactivation or ack-ing must be performed before interrupts are

Some devices (ISA based, at least) does not requires immediate interrupt
acknowledge, they are can be serviced from the user space with
interrupts and they do.

-
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/