Messages in this thread | | | Date | Sun, 30 May 2004 15:40:06 +0400 | From | Brad Campbell <> | Subject | Re: keyboard problem with 2.6.6 |
| |
Sau Dan Lee wrote: > > Once in kernel space, forever in kernel space? What's the logic? > > Where it is now possible to move it out of kernel space WITHOUT > performance problems, why not move it out?
I'd just like to comment on this particular point.
One application I have used utilises the keyboard as a trigger for audio processing and lighting control. Having the keyboard processed in the kernel gives me pretty precise timing and low latency. (Think setting CUE points in audio tracks. 10ms matters!). I'm not going to get that with a userspace keyboard driver. Timing is still a little jittery, but then Linux is not a RTOS, but with the driver in userspace I'm going to get a whole lot worse response for input events.
If you want to move the keyboard processing in userspace, why not just start with a microkernel. There has to be a kernel/user line somewhere, and the grey areas are always going to be subject to discussion.
Brad - 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/
| |