I asked about a kernel function waiting for a user space app, and a guy who knows very mush about the linux kernel give me this answer: Split it into two things. Instead of thinking about the kernel module waiting think about the kernel module remembering enough state on a queue somewhere and finishing, then a second set of code execution occurring when the user space app makes a second ioctl call with the reply. But I don't know how interpret this, please help me.... best reg@rds israel -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/