Hello, Vijay Ram Chitrapu (RCVIJAYD) wrote:
i was under an idea that software interrupts can be used to send some kind of signals to the user space asynchronously. Is it possible for a driver running in the kernel to generate a software interrupt asynchronously to the user such that the user is informed of some change in the kernel the driver is involved with? I am well aware of the fasync method of asynchronous notification..but want to know if this way of signalling is feasible or not?
Actually, I don't know what is the good (tm) solution to signal a userspace process. I'm not sure sending a signal is a good idea. There is inotify, but it's really designed for this. Really, I don't know.
Can you be more precise about the cases in which you need kernel->user signaling ?
Sincerly, Thomas -- Thomas Petazzoni thomas.petazzoni@xxxxxxxx -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/